[flexcoders] Flex2: link not working with non selectable html text

2005-11-04 Thread Muzak
When setting the selectable property to false of a Text tag, anchor tags () no longer work.







Works fine when removing the selectable prop.
Both work fine in Flex 1.5.

regards,
Muzak




 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




Re: [flexcoders] Re: Flex 2:Can you center a popup from the inside?

2005-11-04 Thread Muzak
In addition to this.
I tried adding a Stage resize event listener to a TitleWindow (inside a custom 
mxml component which extends TitleWindow) in order to 
be able to keep it centered.
When doing so I receive the following error, when resizing the swf:

TypeError: Error #1009: null has no properties.
 at 
mx.managers::PopUpManager$/resizeHandler()[C:\dev\max\sdk\frameworks\mx\managers\PopUpManager.as:479]
 at flash.events::EventDispatcher/dispatchEvent()
 at 
mx.managers::SystemManager/SystemManager$71$private::Stage_resizeHandler()[C:\dev\max\sdk\frameworks\mx\managers\SystemManager.as:1724]

The odd part here is the paths being referred to:
C:\dev\max\sdk\frameworks\mx\managers\PopUpManager.as
C:\dev\max\sdk\frameworks\mx\managers\SystemManager.as

No such files or directories here.
Not sure if it has anything to do with it, but thought I'd mention it anyway.

regards,
Muzak

- Original Message - 
From: "Benoit Hediard" <[EMAIL PROTECTED]>
To: 
Sent: Friday, November 04, 2005 2:52 PM
Subject: RE: [flexcoders] Re: Flex 2:Can you center a popup from the inside?


Apparently, this is a known bug:
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=584&threadid=1072386

Benoit Hediard





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





Re: [flexcoders] Re: Flex prototype - production approach

2005-11-04 Thread JesterXL





Absolutely!  9 out of 10 times I'm building, 
& re-factoring production code as I go.
 
I think the important thing to note here is the 
purpose of milestones via iterations is to get a build done, working, and 
testable by a real user, not just a developer.  This garners relevant 
feedback, the kind that promotes work to be focused on the 80% of the app that 
matters.  Additionally, this gives you a chance to challenge the 
wireframes, the information architect's work, and/or the designers.  You 
constantly have proof of improvement, recognizable & documentable 
milestones, and a sense of accomplishment that actually has meaning.  
Working towards meeting the users' needs, and making progress doing it is a lot 
more relevant to a project's success than working towards the developer feeling 
comfortable with his architecture and showing progress doing it.  Just 
because I love my implementation of MVC in the app means jack of the app doesn't 
work for the user.
 
Now you can see how my view of commenting code 
& using tools like ASDoc is slanted; I'm too busy improving & changing 
the design as I go to ever really get to the point where the app is so stale it 
needs to be documented.  Why spend time on it if you are possibly going to 
change it?  It's wasted effort.
 
Change?  Having View's that aren't tied to the 
Model and emit useful events.  Having, as Steven has said in the passed, 
Commands (chunks of controller code) that actually map to user cases; they do 
something the user would do like "open a document", "save a record", etc.  
Doing your best to use MVC & frameworks like Cairngorm and ARP allow things 
to be extremely flexible.  Most of my changes come from design, not from 
business process, so most of the time it's pretty easy, like moving some MXML 
around, or deleting it entirely and just using code.  Other times, the 
actual logic changes, and I have to sometimes move code around, etc.  
Again, modularizing techniques keep this to a minimum; meaning you are most of 
the time creating & modifying vs. destroying what you 
created.
 
The phrase "signed off" to me sounds like the 
contracting advice I see thrown around the lists.  I admittingly do not 
understand their pain.   I recognize that they are trying to protect 
themselves, as their stories of past problem jobs are telling, but I've never 
had that experience.  Additionally, and more telling, I've never had a 
wireframe that was rock solid.  While I do hate doing wireframe changes 6 
weeks into a project, I'd rather be doing that then following a failed 
cause.
 
So, to me, signing off on a wireframe sounds like a 
death warrant... but I never deal with those sides of the project; my managers, 
designers, or sales dudes do.
 
Yes, skins add considerable time, but one must 
understand that a designer developing a rich app is creating, hopefully more 
often than not, something extremely brandable and compelling compared to the 
simplisitic nature of web page designs, which have to be created that way 
to fit into the HTML/CSS paradigm.  Those boundaries to design do not exist 
in Flex since the sky's the limit, so it's actually time well spent; time you 
couldn't do at all in HTML development.  On the flipside, I've seen web 
designers take weeks to get a design to work on a website... and one I wasn't 
really impressed with at all.  Spending 6 hours on getting a margin to work 
seems a lot less valuable to me than spending 6 hours implementing a phat PSD 
into PNG parts for use in skinning Flex components.
 
Flex, and Flash, both are still evolving.  
Although we've had years, and one can go on Google and find thousands of 
components that are free, there isn't a lot of cream in the crop.  QA is a 
nightmare because some were written for Flash 4 before ActionScript existed, 
some are AS1, and the majority are tied to FLA's in some way.  A lot of 
time in Flex is spend custom components for a specific job, yes.  But, it's 
worth it; you build up an impressive reproitoire of components in the long 
run.
 
_javascript_ has definately got us on that front with 
the options of frameworks out there, both commercial and non.  But... they 
are about AS1, and don't look as cool as ours!
 
Remember; an app can look good and not work as 
well, but still sell better than one that does.
 
...data... hrm... tough.  Usually, I've found 
the backend guys I've worked with follow this pattern:
- in the beginning, they know everything, and spell 
out the data model to me, and involve me in business logic discussions to see 
what I can handle on the client; I in turn push as much as I can their 
way
- in the middle, I work like mad, and get feedback 
on how I'm doing from them, and ask questions
- I reach one of my later milestones, and am ready 
for real data; at this point, I start breaking the hell out of their back-end 
services.  So, getting relevant data takes a few days
- once I get the data, I recognize problems with it 
(usually associated 

Re: [flexcoders] Re: Flex prototype - production approach

2005-11-04 Thread superabe superabe



Thanks for all the replies.
 
So the majority seem to favour approach A and iterative development.
Question though, doesnt iterative mean you are building towards a production app?
Meaning the prototype would constantly get refactored and eventually become the production app.
 
As opposed to a protoype that is done real fast and then the production app is started from scratch (i.e none of the code is re-used , but you gain all the UI design, usability and input from domain experts experience from the prototype design phase)

 
Also, having just been through an iterative process for a Flex project, some questions :
 
How do you manage constant change in iterative development ? 
Especially when you start without signed off comps/wireframes ?
 
Also, what about where you have very custom designs (using skins , transitions etc, custom display mechanisms),  does that not add extra dev time trying to do it in Flex at the prototype stage (as opposed to a quick mockup in Flash say for 
e.g or a Photoshop comp)
 
And in the process that Dave calls LookFirst, do you ever run into issues, where once the UI is done and decided on, the nature of the data in the data store (as decided by the business logicl) proves inefficient for display process. (might have been fine using static dummy data, but when the real-life data comes along...things prove too convoluted)

 
Once again thanks for all the comments. 
Very useful. Just trying to get a better handle on how to plan out larger Flex projects. 
 
- superabe
 
  
On 11/4/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
We feel very strongly about this subject.  We developed all ourFlex/RIA solutions so far using a "front to back" approach.
Effectively we do what we call a Model & Design phase where we developout the entire UI in Flex.  In the past we would call this "wireframing" and would use static images to represent the UI.  Witht he
productivity of Flex we now just do it right in Flex.  We work hand inhand with the domain experts to layout and develop every screen inthe application.  Once that is done, in the next phase we bind static
data to the UI, implement validations and flow and actions.  Finallyusing the domain knowldge we got from the M&D the back-ends aredeveloped and finally integrated into the UI.This approach has tons of advantages but the biggest being this.  JAD
sessions are *boring*.  Business domain experts get very bored veryquickly looking at data models, object models, functional specs etc.Well as they get bored, they stop caring.  So when you ask "Can we
just skip field X here" they just go "Yup".  Now you do the back-end,the API's build out the UI without field X.  Wanna guess what happens?Yep, they tell you X is missing and the app is flawed because of it.
Now you have to layer fixes into three to four layers of theapplication.  Add the field to the data store, add it to thepersistance layer, add it to the API, add it to the UI, etc.Domain users are *a lot* more likely to stay engaged in the user
experience.  Then you use those lessons learned to drive back at theenterprise tier.We've coined this approach as LookFirst(tm) and use it pretty muchreligously.  There are other side benefits like the app is
demonstrable before its finished, blah blah.We actually sell an offering to our clients for the M&D itself.Includes all the screens, data model, project plan, test plan, etc.Its been very successful.
I would vote for a LookFirst like front to back approach.--Dave WolfCynergy Systems, Inc.Macromedia Flex Alliance Partnerhttp://www.cynergysystems.com
Email:  [EMAIL PROTECTED]Office: 866-CYNERGY--- In flexcoders@yahoogroups.com
, "JesterXL" <[EMAIL PROTECTED]> wrote:>> Jesse Warden does A, Darron Schall does B (I would think).>> I like to build stuff quickly, ironing out the weird, diffucultthings, and just continually kneed the mofo like dough, improving, and
releaseing working builds to prove progress.  Sometimes, you realize are-write is best, and you can re-use some functions and assets, butnot much (which is why I call it a re-write).  Since Flash & Flex make
that sooo fast, you do that about 3 times.>> I've done B, but that sucks.  I hate UML, as long as you have anawesome Information Architect, who cares; take the wireframes, and go;then iterate when you can show a build, and double-check your
assumptions about both the wireframes & the implementation.>> To me, B works in better in a team, and I've had success workingwith others, but the pressure at the forefront to "plan it perfectly"
seems like I'm being setup to fail, and when the transition fromprototype to production comes; it feels cheap because the code itselfwasn't really a prototype; it was a planned production piece from theget go.
>> Obviously, I'm leaving out all of the important factors that affectthe above such as investment, leeway, deadlines, # team members,accountability, aptitude, experience, etc. but bottom line, I dig A.
The only really big thing about A is deadline; you're emot

[flexcoders] Just be wary that Flex2 Rich Clients are a threat to Media Player and Lightweight Client vs bulkly GUI

2005-11-04 Thread Robert Thompson



Well, some of each of our last 2 postings have had elements of off-topic and I'm willing to stop it also; but it was and is something I'm researching as far as, as you say "my competetive plug in" problems (which is not the case here at all and I'll either end this or make sure it's on topic by saying exactly why).
 
What you don't know is the confidential documents I've seen as part of a case I'm involved with; which I cannot divulge the contents of; nor of the 6 years of research I've done and have found _public_ documents showing that, despite your reasoning about "evil" this or that (which is true sometimes I can agree in general), this is _Not_ the case with Microsoft -- not by any means and I've seen actual things inside to prove it; even if you've seen things; trust me; I've seen enough to get nauseated, even about me personally.
 
Trust me -- there is EVERY reason in the world for the Flex group and Macromedia to stay highly tuned to Microsoft's actions regarding, most especially Flash Player 8 and thereafter.
 
I've noticed how the first defense to real problems is sometimes noting what can and indeed goes on in a competetive environment -- but that is not at all what I'm referring to in the exactly related hacking of JVM in IE (proven explicitly not even with more likely than not; but beyond doubt; it was there and MS finally admitted it implicitly to SUN), QuickTime for Apple -- Flash Player, now especially 8 with video, is directly in line more than _ANY_ other technology right now as potential game for MS people who may or may have not changed -- and they have proven that they do not change.
 
Rich Client UI as well as Media Player Video ARE AT HIGH STAKE WITH MS AS WE SPEAK (and note Real Player's victory on this anti-trust front).
We'll see; but in the meantime; please Macromedia; keep it going and watch them.  Period.
 
-r
 
Dave Wolf <[EMAIL PROTECTED]> wrote:
This thread is getting off-topic and I probobly shouldn't keep italive, but I did want to make one short comment.  First off I clearlya *former* employee and I can only comment on what I saw when I wasthere, but many of the things that from the outside look like verywell planned very well executed "evil" moves are usually absolutelyaccidents.  Issues on things like "My competitive plugin stoppedworking in the new browser, they did this on purpose to keep me down"are usually more of an issue that I sometimes felt like buildings onMicrosoft Drive had no windows (pardon the pun).  Its not that thepurposely would do something to break a competitors product, orbrowser, or web site or whatever.  Its usually more that they don'tnaturally How do I say. Like they are so internalized theyactually didnt even
 think about the impact the change they just didwould have.  As you said, at that level where these things get built,they're just geeks like you and me.  Anyways, just my opinion.  Don't get me wrong, they ahyper-competitive and they play to win.  I am not an apologist formany of their practices, nor usually are they.  I just wanted a bit ofa view from the inside.  At least as I experienced it.That said, I wouldn't ever relax.  They execute on a goal like machines.I don't miss the Redmond weather this time of year though .I have some fun stories over beers!  Let's do that sometime.-- Dave WolfCynergy Systems, Inc.Macromedia Flex Alliance Partnerhttp://www.cynergysystems.comEmail:  [EMAIL PROTECTED]Office: 866-CYNERGY--- In flexcoders@yahoogroups.com,
 Robert Thompson<[EMAIL PROTECTED]> wrote:>> Nice to hear your comments; after all, the employees> there are just people too; but it's the influence of a> culture started long ago (billg: "I think Jobs needs> to learn to program" -- and this coming from a Basic> programmer /:-\> > I'm not unaware at all that there are those from ms> that read these forums; nothing I say I'm afraid of> nor is it extreme.  I'm keenly aware of their activity> moreso than I used to be.> > Although I appreciate your candore, I'm not sure you> are addressing the concern here for Flex in FP8 and> 8.5 (I've seen some new problems popup just since FP8;> and am looking into this)..here's the end all:> > 1. Sun's JVM licensed by MS was hacked by them to> perform poorly.  Sun proved this.> > 2. Microsoft took specific anti-competitive steps
 to> make Apple's QuickTime perform poorly; this also has> been proven and has been argued.> > 3. Rick Segal, not someone I take kindly to by any> means at this point now, and someone who (well you can> do your own research), actually argues against> Microsoft on the Blue Mountain v Microsoft hack issue;> this suggests an unstable wavering by Rick; he's> hasn't been sure at times where to draw the line of> speaking the truth.> > 4. There's a host of other examples all leading to one> thing: FLASH has been "something to deal with" and> this WILL BE MORE OF AN ISSUE WITH AVALON.> > So I appreciate your comments and you seem cool and> neutral; but I was simply addressing that th

Re: [flexcoders] PDA

2005-11-04 Thread John Dowdell
Howard, Dave wrote:
> has anyone successfully depolyed a Flex 2 app to a PDA running Pocket
> PC?  Can this be done?

Not yet. The alpha Flex 2 uses the alpha Macromedia Flash Player 8.5 -- 
even desktop browsers aren't at this level of support yet. Pocket 
devices are usually a few versions back:
http://www.macromedia.com/mobile/supported_devices/pda.html

jd


-- 
John Dowdell . Macromedia Developer Support . San Francisco CA USA
Weblog: http://www.macromedia.com/go/blog_jd
Aggregator: http://www.macromedia.com/go/weblogs
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





RE: [flexcoders] Obtaining data from the outer HTML's DOM

2005-11-04 Thread Mink, Joseph





Yes indeed!  I just found out about the 
FlashMovObj.setVariable...didn't know about that!  Thanks 
much!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy 
SprattSent: Friday, November 04, 2005 4:18 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Obtaining data 
from the outer HTML's DOM


Could you use a 
callback setup?  Fscommand or getURL out to the wrapper, then 
FlashMovieObject.setVariable(myData) back to Flex?
 
Tracy
 




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Mink, 
JosephSent: Friday, November 
04, 2005 3:56 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Obtaining data from 
the outer HTML's DOM
 

I just read about fscommand 
():

 

http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentation&file=2349.htm

 

...very 
wierd.

 

Anyway, I was hoping to actually 
obtain information as a return value from a JS function that gets called.  
I didn't see any way to obtain data in return using the fscommand 
function.  Does anyone have a recommendation for obtaing information (with 
Flex) that exists in the parent HTML 
document?

 

Thanks!
Joey 
Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 
2450
Fax: 703 263 
2663
[EMAIL PROTECTED]

 






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



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



  









RE: [flexcoders] Obtaining data from the outer HTML's DOM

2005-11-04 Thread Mink, Joseph





Thanks again, Tracy.  That's awesome info!  
Definitely easier than I would've thought...


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy 
SprattSent: Friday, November 04, 2005 4:24 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Obtaining data 
from the outer HTML's DOM


And a quick 
follow-up:
setVariable() will work 
with a Flex setter function, so you can use it to trigger any action in 
flex.
 
I use this callback 
setup for programmatic security. I use 
getURL(“_javascript_:myWrapperFunc(mydata)”);
Tracy
 




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Tracy SprattSent: Friday, November 04, 2005 4:18 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Obtaining data 
from the outer HTML's DOM
 
Could you use a 
callback setup?  Fscommand or getURL out to the wrapper, then 
FlashMovieObject.setVariable(myData) back to Flex?
 
Tracy
 




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Mink, 
JosephSent: Friday, November 
04, 2005 3:56 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Obtaining data from 
the outer HTML's DOM
 

I just read about fscommand 
():

 

http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentation&file=2349.htm

 

...very 
wierd.

 

Anyway, I was hoping to actually 
obtain information as a return value from a JS function that gets called.  
I didn't see any way to obtain data in return using the fscommand 
function.  Does anyone have a recommendation for obtaing information (with 
Flex) that exists in the parent HTML 
document?

 

Thanks!
Joey 
Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 
2450
Fax: 703 263 
2663
[EMAIL PROTECTED]

 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Obtaining data from the outer HTML's DOM

2005-11-04 Thread Mink, Joseph





I was just recently made aware of this 
link:
 
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15683
 
Which basically shows a way, from JS, to set the value 
of a variable in the Flash Player.  Awesome!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mink, 
JosephSent: Friday, November 04, 2005 3:56 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Obtaining data from 
the outer HTML's DOM

I just read about 
fscommand ():
 
http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentation&file=2349.htm
 
...very 
wierd.
 
Anyway, I was hoping 
to actually obtain information as a return value from a JS function that gets 
called.  I didn't see any way to obtain data in return using the fscommand 
function.  Does anyone have a recommendation for obtaing information (with 
Flex) that exists in the parent HTML document?
 
Thanks!
Joey Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
[EMAIL PROTECTED]
 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] PDA

2005-11-04 Thread Howard, Dave





 

has anyone 
successfully depolyed a Flex 2 app to a PDA running Pocket PC?  Can this be 
done?
 
Dave 
Howard__
Technology Leader
Linium
 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Obtaining data from the outer HTML's DOM

2005-11-04 Thread Tracy Spratt










And a quick follow-up:

setVariable() will work with a Flex setter
function, so you can use it to trigger any action in flex.

 

I use this callback setup for programmatic
security. I use getURL(“_javascript_:myWrapperFunc(mydata)”);

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy
 Spratt
Sent: Friday, November 04, 2005
4:18 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Obtaining data from the outer HTML's DOM



 

Could you use a callback setup? 
Fscommand or getURL out to the wrapper, then
FlashMovieObject.setVariable(myData) back to Flex?

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mink, Joseph
Sent: Friday, November 04, 2005
3:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Obtaining
data from the outer HTML's DOM



 



I just read about fscommand ():





 





http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentation&file=2349.htm





 





...very wierd.





 





Anyway, I was hoping to actually obtain information as a
return value from a JS function that gets called.  I didn't see any way to
obtain data in return using the fscommand function.  Does anyone have a
recommendation for obtaing information (with Flex) that exists in the parent
HTML document?





 





Thanks!



Joey Mink

[Software Engineer @ Solers, Inc.]

Voice: 703 480 2450

Fax: 703 263 2663

[EMAIL PROTECTED]



 












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



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



  











Re: [flexcoders] Flex2: TitleWindow close button click event error

2005-11-04 Thread Muzak
Thanx for the confirmation.

I worked around it by doing something similar.

http://www.macromedia.com/2005/mxml"; xmlns="*" 
closeButton="true" creationComplete="windowInit()">





regards,
Muzak

- Original Message - 
From: "Darron J. Schall" <[EMAIL PROTECTED]>
To: 
Sent: Friday, November 04, 2005 8:50 PM
Subject: Re: [flexcoders] Flex2: TitleWindow close button click event error


> Muzak wrote:
>
>>When defining a click event for a custom TitleWindow, clicking anywhere 
>>within the TitleWindow triggers the event, allthough the
>>docs say it is used for the close button.
>>
>>
>>
> I believe that's a known issue.  For now, do this:
>
>closeButton="true"  click="if ( event.target == _closeButton )
> clickHandler( event );"
>
> You have to specifically check if the target of the event is the close
> button.  I think this is caused by the change in event models in that
> events propagate now...
>
> -d
>
>
>




 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




Re: [flexcoders] Mapping java.sql.Timestamp to ActionScript

2005-11-04 Thread Clint Modien



Ya flex won't do it for you...  you might try pulling the timestamp out of your db as a string and converting it back to a timestamp before you save it to the database.
 
 
On 11/4/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:
We are  reading a collection of Java Value Objects with one of theattributes being of java.sql.Timestamp
 datatype.  How can I map this toActionScript?We already have a ActionScript VO mapped to the Java VO usingobject.RegisterClass, it seems that it is reading the value OK but whensend the ActionScript VO back to Java we get an error message about a data
type that is not recognized.Any ideas?-Oscar.---This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may containinformation that is privileged, proprietary , confidential and exempt fromdisclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication isstrictly prohibited.  If you have received this communication in error,please notify the sender and erase this e-mail message immediately.
--- Yahoo! Groups Sponsor ~-->Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM~->--
Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to:   http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:   [EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Obtaining data from the outer HTML's DOM

2005-11-04 Thread Tracy Spratt










Could you use a callback setup?  Fscommand
or getURL out to the wrapper, then FlashMovieObject.setVariable(myData) back to
Flex?

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mink, Joseph
Sent: Friday, November 04, 2005
3:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Obtaining
data from the outer HTML's DOM



 



I just read about fscommand ():





 





http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentation&file=2349.htm





 





...very wierd.





 





Anyway, I was hoping to actually obtain information as a
return value from a JS function that gets called.  I didn't see any way to
obtain data in return using the fscommand function.  Does anyone have a
recommendation for obtaing information (with Flex) that exists in the parent
HTML document?





 





Thanks!



Joey Mink

[Software Engineer @ Solers, Inc.]

Voice: 703 480 2450

Fax: 703 263 2663

[EMAIL PROTECTED]



 











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Obtaining data from the outer HTML's DOM

2005-11-04 Thread Mink, Joseph





I just read about 
fscommand ():
 
http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentation&file=2349.htm
 
...very 
wierd.
 
Anyway, I was hoping 
to actually obtain information as a return value from a JS function that gets 
called.  I didn't see any way to obtain data in return using the fscommand 
function.  Does anyone have a recommendation for obtaing information (with 
Flex) that exists in the parent HTML document?
 
Thanks!
Joey Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
[EMAIL PROTECTED]
 





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



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



  









[flexcoders] Mapping java.sql.Timestamp to ActionScript

2005-11-04 Thread Oscar . Cortes
We are  reading a collection of Java Value Objects with one of the
attributes being of java.sql.Timestamp datatype.  How can I map this to
ActionScript?

We already have a ActionScript VO mapped to the Java VO using
object.RegisterClass, it seems that it is reading the value OK but when
send the ActionScript VO back to Java we get an error message about a data
type that is not recognized.

Any ideas?

-Oscar.

---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---




 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] [Flex 1.5] Cairngorm Store's Filtering Functionality

2005-11-04 Thread fowleryj
I'm trying to implement the filtering functionality shown in the
Cairngorm Store example, but the differences between my data set and
theirs is creating a rather large hurdle.

The particular page I'm working on involves a ComboBox and a DataGrid:
the default on the ComboBox is "All", so upon creation of the Canvas
where these components reside, a call is made to the database, and a
large amount of data is returned and displayed in the DataGrid. I want
the user to be able to filter the data displayed in the DataGrid based
upon their ComboBox selection, but I'd rather not call the database
each time a new selection is made, since all of the options other than
"All" are subsets of the data returned by the "All" call.

I've been using the Cairngorm Store's filtering functionality as a
template for mine, but the fact that I have an additional level of
arrays in my data sets is making implementing my own Comparator.as a
confusing task. If someone could explain the changes that would need
to be made to functions such as "addComparable", "addFilterProperties"
(they call theirs "addFilterRangeProperty" and
"addFilterSelectionProperty", but I actually need to filter over
particular values of columns in my row set object that is returned
from the database (i.e. I'd like to filter out all rows where
resultsObject.country_code != "USA"), so my filter property needs
differ), "filter",
"getUnfilteredComparables" and "getFilteredComparables", it would help
a lot (I don't think I need the rest of the methods in their
Comparator.as class).

I've tried creating "wrapper"-ish arrays, but I just keep leading
myself down the wrong path and ending up where I started...

I also looked at Manish's example
(http://manish.revise.org/2005/04/data-filtering-using-custom.html),
but I believe the Cairngorm Store's approach is more suited to what I am
trying to do. If I'm wrong, someone please correct me.

If it would help to see some examples of the code, let me know, and
I'll put together a summary. Otherwise, I figured I'd keep the post
theoretical in nature. =)






 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





Re: [flexcoders] Flex2: TitleWindow close button click event error

2005-11-04 Thread Darron J. Schall
Muzak wrote:

>When defining a click event for a custom TitleWindow, clicking anywhere within 
>the TitleWindow triggers the event, allthough the 
>docs say it is used for the close button.
>
>  
>
I believe that's a known issue.  For now, do this:

closeButton="true"  click="if ( event.target == _closeButton ) 
clickHandler( event );"

You have to specifically check if the target of the event is the close 
button.  I think this is caused by the change in event models in that 
events propagate now...

-d



 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Flex2: TitleWindow close button click event error

2005-11-04 Thread Muzak
When defining a click event for a custom TitleWindow, clicking anywhere within 
the TitleWindow triggers the event, allthough the 
docs say it is used for the close button.
Furthermore, when trying to close the TitleWindow in the click event handler, 
an error pops up.

Here's the mxml:


http://www.macromedia.com/2005/mxml"; xmlns="*" 
closeButton="true" click="windowClickHandler(event)" 
width="400" height="200">





This is the error message:

TypeError: Error #1009: null has no properties.
 at mx.managers::PopUpManager$/removePopUp()
 at TestWindow/TestWindow$287$private::windowClickHandler()
 at TestWindow/___TitleWindow0_click()


Is there any other event triggered when clicking the close button?
I find it strange that the event is triggered when clicking anywhere inside the 
TitleWindow, so maybe the docs mention the wrong 
event name or something.
A 'close' event would be more suitable IMO anyways..

regards,
Muzak




 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





RE: [flexcoders] New To Flex

2005-11-04 Thread Matt Chotin










Understanding Flash is not a pre-requisite
to understanding Flex.  Sometimes it even confuses people J  I’d look at the
Developing Rich Clients book even though it’s for 1.0, the concepts of
how to build an application remain.  The 1.5 tutorials that you find out on the
web also should generally remain helpful for the concepts even if some of the
code might need to be updated.

 

Matt

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Alan
Sent: Friday, November 04, 2005
10:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] New To Flex



 

I've been playing with Flex on and off over the last
year.  I recently downloaded Flex 2 Alpha 1 and I like what I see, however
I'm a newbie to application development.  I would like to get my arms
around Flex 2, but other than the few tutorials that Macromedia has on thier
site I haven't been able to find anf Flex 2 resource sites.  Should I
start with developing applications in Flash before diving into Flex 2?








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Re: Flex2: pricing info

2005-11-04 Thread Dave Wolf

This thread is getting off-topic and I probobly shouldn't keep it
alive, but I did want to make one short comment.  First off I clearly
a *former* employee and I can only comment on what I saw when I was
there, but many of the things that from the outside look like very
well planned very well executed "evil" moves are usually absolutely
accidents.  Issues on things like "My competitive plugin stopped
working in the new browser, they did this on purpose to keep me down"
are usually more of an issue that I sometimes felt like buildings on
Microsoft Drive had no windows (pardon the pun).  Its not that the
purposely would do something to break a competitors product, or
browser, or web site or whatever.  Its usually more that they don't
naturally How do I say. Like they are so internalized they
actually didnt even think about the impact the change they just did
would have.  As you said, at that level where these things get built,
they're just geeks like you and me.  

Anyways, just my opinion.  Don't get me wrong, they a
hyper-competitive and they play to win.  I am not an apologist for
many of their practices, nor usually are they.  I just wanted a bit of
a view from the inside.  At least as I experienced it.

That said, I wouldn't ever relax.  They execute on a goal like machines.

I don't miss the Redmond weather this time of year though .

I have some fun stories over beers!  Let's do that sometime.




-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY




--- In flexcoders@yahoogroups.com, Robert Thompson
<[EMAIL PROTECTED]> wrote:
>
> Nice to hear your comments; after all, the employees
> there are just people too; but it's the influence of a
> culture started long ago (billg: "I think Jobs needs
> to learn to program" -- and this coming from a Basic
> programmer /:-\
> 
> I'm not unaware at all that there are those from ms
> that read these forums; nothing I say I'm afraid of
> nor is it extreme.  I'm keenly aware of their activity
> moreso than I used to be.
> 
> Although I appreciate your candore, I'm not sure you
> are addressing the concern here for Flex in FP8 and
> 8.5 (I've seen some new problems popup just since FP8;
> and am looking into this)..here's the end all:
> 
> 1. Sun's JVM licensed by MS was hacked by them to
> perform poorly.  Sun proved this.
> 
> 2. Microsoft took specific anti-competitive steps to
> make Apple's QuickTime perform poorly; this also has
> been proven and has been argued.
> 
> 3. Rick Segal, not someone I take kindly to by any
> means at this point now, and someone who (well you can
> do your own research), actually argues against
> Microsoft on the Blue Mountain v Microsoft hack issue;
> this suggests an unstable wavering by Rick; he's
> hasn't been sure at times where to draw the line of
> speaking the truth.
> 
> 4. There's a host of other examples all leading to one
> thing: FLASH has been "something to deal with" and
> this WILL BE MORE OF AN ISSUE WITH AVALON.
> 
> So I appreciate your comments and you seem cool and
> neutral; but I was simply addressing that the threat
> of potential "backdoor" type botching by MS to crush
> true innovation (yeah I know it's a highly used phrase
> but it's true).
> 
> I really think there is a serious need for someone to
> monitor this actively as Avalon reaches release.
> 
> I welcome anyone from ms to debate; and any future
> reference to any public stmts of mine is welcomed as
> they are directly associated with other events I'd
> gladly discuss in that context.  I won't go away;
> sometimes it's best not too know too much in this
> world; but now I do and it's not conspiracy theory
> (the big denial defense to some), but it is a
> consistent philosophy that's just, well, I'd say it's
> essentially almost a loser mentality, rather than the
> true transparent competitor who can debate, think, and
> not lose their cool and digress into becoming a
> sneak...that's not competition; that's a mal-formed
> desperation with a self-image that's false.
> 
> -r
> 
> 
> 
> --- Dave Wolf <[EMAIL PROTECTED]> wrote:
> 
> > I am a former lead Product Manager from the .NET
> > servers team at
> > Microsoft.  I think I have a pretty good perspective
> > here 
> > 
> > They have a saying in Redmond.  
> > 
> > "Its better to chase tail lights then blaze head
> > lights"
> > 
> > In other words, let everyone else go establish the
> > market, let
> > everyone else mkae mistakes, then swoop in builing
> > the better
> > mousetrap and take the market away.
> > 
> > I can also pretty much guarantee they read these
> > forums.  We used to
> > send half a dozen people to JavaOne.
> > 
> > They wont lie down, but they also don't always come
> > in with that tail
> > light strategy and win.  They often don't actually.
> > 
> > In the end, choose the right technology today for
> > your business.  You
> > can never predict the future.
> > 
> >  > bored

Re: [flexcoders] Need advice on XMLSocket architecture (1.5)

2005-11-04 Thread JesterXL
Title: Need advice on XMLSocket architecture (1.5)





You might want to ask this on Flashcoders; people 
like Jobe Makar are the ones you want answering this.
 
When I connected to a message router in the past 
via .NET, we used the same port, and had 2 XMLSocket connections.  We 
utilized our own XML schema, and only paid attention to messages that matched 
our assigned client ID.
Example:
 
function onLoad(xml)
{
    if(xml.firstChild.attributes.id == _global.myID)
    {
        // go ahead and start parsing more 
data
    }
}
 
The only challenges we ran into:
- higher framerates mean less message processing time; stick to 18 or 
lower
- keep track of which data is the valid data; XMLSocket vs. a returning 
Remoting request
 
As far as scalability, XMLSocket itself rocks, but the back-end kept going 
down 15 times a day, and I'd have to ask the server guy to reboot it.  We 
didn't build it, but didn't have time to write our own.  Beyond the high 
framerate, never had any problems with Flash.
 
A project way before that using VB 6 to connect & C, we didn't even use 
XML, just strings:
 
function onData(str)
{
    if(str == "gonext")
    {
        // etc.
    }
}
 
This was a single app with a single socket, though, so no ID's for multiple 
clients was needed; it was merely a better way of communicating from VB to Flash 
at the time since ExternalInterface didn't exist, nor LoadVars, nor watch, and 
fscommand wouldn't scale for what we needed.
 
Both of which worked great.
    
- Original Message - 
From: Tracy Spratt 

To: flexcoders@yahoogroups.com 
Sent: Friday, November 04, 2005 1:38 PM
Subject: [flexcoders] Need advice on XMLSocket architecture 
(1.5)

I have 100 fixed clients 
running a Flex 1.5 app on an intranet.  A Dot.Net 
integration tier maintains individual states for each client. The integration 
tier talks asynchronously to third party apps over async tcp sockets and even 
mail transport.  I had planned on a leisurely polling setup to get the 
clients updated with changes in state, but I now have a 
requirement for an update with minimum 
latency.
The messaging between 
clients and server is very low frequency (a few clients 
updated per minute) and very low size (a few 
k 
per update).
Since I have been 
unsuccessful at getting a 
“blocking” http service call 
working in dot.net, and since I now have some socket 
experience, I am leaning towards a true “push” connection using 
XMLSockets.  I see two approaches:  
On would be to have a 
separate port connection for each client with each client 
only getting their messages, the other would be a single port, where 
all clients would get all messages, and ignore those that were not 
theirs.
I think performance, 
reliability and simplicity are most important, and scalability not so much an 
issue.
Any suggestions, 
experiences, resources would be appreciated!!
Tracy





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Controlling embedded swf

2005-11-04 Thread alariccole
It won't let you invoke actionscript that way. Gotta load the swf
dynamically.

--- In flexcoders@yahoogroups.com, "gnaveenrajkumaar"
<[EMAIL PROTECTED]> wrote:
>
> Hi there,
> 
> i'm inserting a swf file in the mxml file using
> 
>  
> 
> i have a method inside he map.swf file
> 
> function setlocation(x,y){
>  latitude=x;
>  longitude=y;
> }
> 
> i want to invoke this function from the mxml file and pass parameters
> for this function...
> 
> 
> 
> please someone help on this
> thanks...
> bye...
>






 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] New To Flex

2005-11-04 Thread Alan



I've been playing with Flex on and off over the last year.  I recently downloaded Flex 2 Alpha 1 and I like what I see, however I'm a newbie to application development.  I would like to get my arms around Flex 2, but other than the few tutorials that Macromedia has on thier site I haven't been able to find anf Flex 2 resource sites.  Should I start with developing applications in Flash before diving into Flex 2?






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: -- PayPal API

2005-11-04 Thread alariccole
Paypal already offers a webservice which like any webservice can be
used with httpservice or webservice components. But it's set up as a
monthly service. 

--- In flexcoders@yahoogroups.com, Robert Thompson
<[EMAIL PROTECTED]> wrote:
>
> 
> I was getting ready to delve into a .NET object for PayPal and then
integrate that object into Flex 2.0, but now I'm questioning whether I
need to do that.
> 
>  
> 
> Is there a particular PayPal WebService that is best used with MXML?
> 
>  
> 
> -r
> 
>   
> -
>  Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
>






 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Need advice on XMLSocket architecture (1.5)

2005-11-04 Thread Tracy Spratt
Title: Need advice on XMLSocket architecture (1.5)








I have 100 fixed clients running a Flex 1.5 app on an intranet.  A Dot.Net integration tier maintains individual states for each client. The integration tier talks asynchronously to third party apps over async tcp sockets and even mail transport.  I had planned on a leisurely polling setup to get the clients updated with changes in state, but I now have a requirement for an update with minimum latency.

The messaging between clients and server is very low frequency (a few clients updated per minute) and very low size (a few k per update).

Since I have been unsuccessful at getting a “blocking” http service call working in dot.net, and since I now have some socket experience, I am leaning towards a true “push” connection using XMLSockets.  I see two approaches:  

On would be to have a separate port connection for each client with each client only getting their messages, the other would be a single port, where all clients would get all messages, and ignore those that were not theirs.

I think performance, reliability and simplicity are most important, and scalability not so much an issue.

Any suggestions, experiences, resources would be appreciated!!

Tracy







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Processor Speed vs Video Card Speed

2005-11-04 Thread Tariq Ahmed
That's what I needed. Thank you sir!



JesterXL wrote:

>CPU.
>
>Even with the bitmap renderings, the only hardware Flash utilizes is with 
>Flash Player 8 on the Mac.  Granted, you get higher refresh rates with 
>better video cards, and thus higher framerates actually look like they 
>should, but no one should be developing above 30fps in Flex anyway.
>
>CPU first, RAM second.
>
>- Original Message - 
>From: "Tariq Ahmed" <[EMAIL PROTECTED]>
>To: 
>Sent: Friday, November 04, 2005 1:16 PM
>Subject: [flexcoders] Processor Speed vs Video Card Speed
>
>
>Hey guys.
>
>Has any testing been done, or does anyone know what will affect
>performance more: Processor Speed or Video Card speed?
>
>I'm at a new job (left eBay 3 weeks ago), the goal at the new gig is to
>re-engineer the application here (or at least make it way more usable).
>The application is for a high volume call center, and the business is
>completely dependent on this application. But because it's a call
>center, the PC's that the user uses are pretty old (I'm working on
>getting specs). So in terms of evaluation I'm scoping out what the
>options are in terms of h/w upgrade is; and if just a video card upgrade
>(vs replacing 400 PCs) could buy me some performance. Or, are Flash apps
>pretty much 90% dependent on processor power?
>
>Thx.
>  
>




 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Flex 2: TitleWindow popup bug

2005-11-04 Thread Muzak
And here's another bug with the TitleWindow (in addition to the center bug).
If the TitleWindow has a close button (closeButton=true), try clicking the 
close button and while holding down the mouse, move the 
mouse. The TitleWindow will jump all the way to the right.

regards,
Muzak





 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





Re: [flexcoders] Processor Speed vs Video Card Speed

2005-11-04 Thread JesterXL
CPU.

Even with the bitmap renderings, the only hardware Flash utilizes is with 
Flash Player 8 on the Mac.  Granted, you get higher refresh rates with 
better video cards, and thus higher framerates actually look like they 
should, but no one should be developing above 30fps in Flex anyway.

CPU first, RAM second.

- Original Message - 
From: "Tariq Ahmed" <[EMAIL PROTECTED]>
To: 
Sent: Friday, November 04, 2005 1:16 PM
Subject: [flexcoders] Processor Speed vs Video Card Speed


Hey guys.

Has any testing been done, or does anyone know what will affect
performance more: Processor Speed or Video Card speed?

I'm at a new job (left eBay 3 weeks ago), the goal at the new gig is to
re-engineer the application here (or at least make it way more usable).
The application is for a high volume call center, and the business is
completely dependent on this application. But because it's a call
center, the PC's that the user uses are pretty old (I'm working on
getting specs). So in terms of evaluation I'm scoping out what the
options are in terms of h/w upgrade is; and if just a video card upgrade
(vs replacing 400 PCs) could buy me some performance. Or, are Flash apps
pretty much 90% dependent on processor power?

Thx.






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







 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Processor Speed vs Video Card Speed

2005-11-04 Thread Tariq Ahmed
Hey guys.

Has any testing been done, or does anyone know what will affect 
performance more: Processor Speed or Video Card speed?

I'm at a new job (left eBay 3 weeks ago), the goal at the new gig is to 
re-engineer the application here (or at least make it way more usable). 
The application is for a high volume call center, and the business is 
completely dependent on this application. But because it's a call 
center, the PC's that the user uses are pretty old (I'm working on 
getting specs). So in terms of evaluation I'm scoping out what the 
options are in terms of h/w upgrade is; and if just a video card upgrade 
(vs replacing 400 PCs) could buy me some performance. Or, are Flash apps 
pretty much 90% dependent on processor power?

Thx.





 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




RE: [flexcoders] To code-behind or not to code-behind?

2005-11-04 Thread Tracy Spratt










“just stuff AS into
our mxml. If it bites us later we'll just refactor”  

No, man, don’t do that.  In 1.5, the 32k problem *will* bite you.  Just start off putting the
AS into a helper class (static or otherwise). Then you’ll do:

MyHelperClass.myFunction()

From the beginning instead of having to do it later.

 

Trust me.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Julian Suggate
Sent: Thursday, November 03, 2005
10:02 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] To
code-behind or not to code-behind?



 



Thanks for your time everyone.





 





Because we have barely scratched the surface with Flex, I am asking
stupid questions probably ... apologies if it's coming across as obtuse. 





 





I think I was getting confused because "mxml is the
class". Call me slow on the uptake! I only just clicked that separating
the code from the mxml makes no difference semantically -- seems more of
an ideological debate than anything else. I'm not a big fan of those! I
can see why Steven's initial response was kind of blase. I think we'll go with
the grain on this one and just stuff AS into our mxml. If it bites us later
we'll just refactor. 





 





On 11/4/05, Steven
Webster <[EMAIL PROTECTED]>
wrote: 



The existence of ActionScript code in the
MXML file or not, has never impacted on the strategy for skinning.





 





Good to hear.





 







For the psycho-analytically inclined, you can see the process of
paradigm-shifting going on in glorious technicolour as I continue to ask silly
questions and then back down ;-)





 





But you're probably accustomed to that on this list.





 





Jules















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Reverse yaxis (FLEX 2)

2005-11-04 Thread Ely Greenfield


No, the axes don't really support inversion.

The easiest way would probably be:

1) pre-multiply your values by -1.
2) put a labelFunction on your vertical AxisRenderer that multiplies the
label value by -1 to make it look like it's positive.
3) if you want datatips, you'll have to add a dataTipFunction to do the
same.

Ely.


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of yaagcur
Sent: Friday, November 04, 2005 9:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Reverse yaxis (FLEX 2)
Importance: High

I want to do a chart which is a ranking of team's position (y axis) in a
league  over time (x-axis). 
I would like to reverse the y axis so that if a team is improving over
time (say from rank 4 to rank 2) the graph shows an upward movement
rather than the downward movement that results from a straight input of
the data Unsurprisngly, just having a lower maximum than minimum in the
LinearAxis does not do the trick Is this possible another way?







 Yahoo! Groups Sponsor ~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet
Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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



 




 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Reverse yaxis (FLEX 2)

2005-11-04 Thread yaagcur
I want to do a chart which is a ranking of team's position (y axis)
in a league  over time (x-axis). 
I would like to reverse the y axis so that if a team is improving over
time (say from rank 4 to rank 2) the graph shows an upward movement
rather than the downward movement that results from a straight input
of the data
Unsurprisngly, just having a lower maximum than minimum in the
LinearAxis does not do the trick
Is this possible another way?







 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




RE: [flexcoders] Re: Flex 2:Can you center a popup from the inside?

2005-11-04 Thread Benoit Hediard
Apparently, this is a known bug:
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=584&;
threadid=1072386

Benoit Hediard

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de Greg Johnson
Envoyé : vendredi 4 novembre 2005 14:34
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Re: Flex 2:Can you center a popup from the inside?

Nope
--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> Is the err function being called from a class that extends 
> UIObject/UIComponent/View?
> 
> - Original Message -
> From: "Greg Johnson" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, November 03, 2005 3:44 PM
> Subject: [flexcoders] Flex 2:Can you center a popup from the inside?
> 
> 
> Here is the popup function
> 
> // Error Handler Function
> public function err(message:String):Void { var errpop:stdErr = 
> stdErr(PopUpManager.createPopUp (this, stdErr, true)); 
> errpop.message.text = message; }
> 
> And here is the stdErr.mxml file it uses for the actual popup.
> 
>   xmlns:mx="http://www.macromedia.com/2005/mxml";
> width="240" height="341" closeButton="true"
> borderStyle="outset" cornerRadius="10" title="Notice"
> fontWeight="bold">
>   selectable="true">   right="5"
> bottom="5" top="25"/>
> 
> 
> 
> 
> 
> 
>  marginBottom="5" marginLeft="5" marginRight="5" marginTop="5"> 
>  click="PopUpManager.removePopUp(this)" width="100%"/>  
> 
> 
> I have tried a few variations to get centerPopUp to work, but they all 
> either give an error when I try to compile or just don't center it.
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>







 Yahoo! Groups Sponsor ~--> Fair
play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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



 









 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




RE: [flexcoders] passing javascript values to sws/mxml

2005-11-04 Thread Boddula, Sridhar










I’m talking Flex 1.5

 



Thanks, 

Sridhar Boddula, 
EIS - New Tech. Development 
617-664-8566(Work) 











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Horn
Sent: Friday, November 04, 2005
11:32 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] passing
_javascript_ values to sws/mxml



 

If you're talking Flex 2, then check out
this chapter in the DevApps book:

 http://livedocs.macromedia.com/labs/1/flex/1051.html

 

hth,

matt horn

flex docs



 







From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: Thursday, November 03, 2005
11:43 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] passing _javascript_
values to sws/mxml

http://livedocs.macromedia.com/flex/15/flex_docs_en/2349.htm

 

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Boddula, Sridhar
Sent: Thursday, November 03, 2005
1:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] passing
_javascript_ values to sws/mxml



 


Hi,

How can I pass any parameters/values from
_javascript_ to .swf or .mxml
with out reloading .swf/mxml every time?


Thanks,

Sridhar Boddula,













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Re: Flex2: pricing info

2005-11-04 Thread Robert Thompson
Nice to hear your comments; after all, the employees
there are just people too; but it's the influence of a
culture started long ago (billg: "I think Jobs needs
to learn to program" -- and this coming from a Basic
programmer /:-\

I'm not unaware at all that there are those from ms
that read these forums; nothing I say I'm afraid of
nor is it extreme.  I'm keenly aware of their activity
moreso than I used to be.

Although I appreciate your candore, I'm not sure you
are addressing the concern here for Flex in FP8 and
8.5 (I've seen some new problems popup just since FP8;
and am looking into this)..here's the end all:

1. Sun's JVM licensed by MS was hacked by them to
perform poorly.  Sun proved this.

2. Microsoft took specific anti-competitive steps to
make Apple's QuickTime perform poorly; this also has
been proven and has been argued.

3. Rick Segal, not someone I take kindly to by any
means at this point now, and someone who (well you can
do your own research), actually argues against
Microsoft on the Blue Mountain v Microsoft hack issue;
this suggests an unstable wavering by Rick; he's
hasn't been sure at times where to draw the line of
speaking the truth.

4. There's a host of other examples all leading to one
thing: FLASH has been "something to deal with" and
this WILL BE MORE OF AN ISSUE WITH AVALON.

So I appreciate your comments and you seem cool and
neutral; but I was simply addressing that the threat
of potential "backdoor" type botching by MS to crush
true innovation (yeah I know it's a highly used phrase
but it's true).

I really think there is a serious need for someone to
monitor this actively as Avalon reaches release.

I welcome anyone from ms to debate; and any future
reference to any public stmts of mine is welcomed as
they are directly associated with other events I'd
gladly discuss in that context.  I won't go away;
sometimes it's best not too know too much in this
world; but now I do and it's not conspiracy theory
(the big denial defense to some), but it is a
consistent philosophy that's just, well, I'd say it's
essentially almost a loser mentality, rather than the
true transparent competitor who can debate, think, and
not lose their cool and digress into becoming a
sneak...that's not competition; that's a mal-formed
desperation with a self-image that's false.

-r



--- Dave Wolf <[EMAIL PROTECTED]> wrote:

> I am a former lead Product Manager from the .NET
> servers team at
> Microsoft.  I think I have a pretty good perspective
> here 
> 
> They have a saying in Redmond.  
> 
> "Its better to chase tail lights then blaze head
> lights"
> 
> In other words, let everyone else go establish the
> market, let
> everyone else mkae mistakes, then swoop in builing
> the better
> mousetrap and take the market away.
> 
> I can also pretty much guarantee they read these
> forums.  We used to
> send half a dozen people to JavaOne.
> 
> They wont lie down, but they also don't always come
> in with that tail
> light strategy and win.  They often don't actually.
> 
> In the end, choose the right technology today for
> your business.  You
> can never predict the future.
> 
>  bored>
> 
> -- 
> Dave Wolf
> Cynergy Systems, Inc.
> Macromedia Flex Alliance Partner
> http://www.cynergysystems.com
> 
> Email:  [EMAIL PROTECTED]
> Office: 866-CYNERGY 
> 
> 
> --- In flexcoders@yahoogroups.com, Robert Thompson
> <[EMAIL PROTECTED]> wrote:
> >
> > That's cool, but believe me, I've seen things that
> one
> > should not see from actual Microsoft documents.
> > 
> > Flash is here to stay, but I believe a battle will
> > ensue in the next year or so and it will be
> > "diversionary" as is always the case with ms.
> > 
> > They are smart people but apply less of their
> smarts
> > to products, and more of it to very diversionary
> ways
> > to offset who might be to blame.
> > 
> > Take the Java JVM, they licensed it, gave a
> diplomatic
> > outward idea of supporting it, and it was found
> during
> > trial that they purposely hacked it to perform
> poorly.
> > 
> > They will _not_ I believe do this in IE7 -- but I
> _do_
> > believe it's entirely possible for them to use
> > co-branded browsers of theirs to "accidently
> > purposely" pass off bad code to other markets.
> > 
> > It always takes a offensive position with people
> like
> > this; they live by a different philosophy and are
> very
> > persistent and clever in diversionary tactics of
> > long-term competition; patient also.
> > 
> > Avalon is good; good for Windows.  But the essence
> of
> > Flash is great performance on multiple platforms,
> and
> > it will take good graphics engines in OSX and
> Linux
> > and Flash support of them to keep competetive.
> > 
> > Remember, unfortunately IE and Windows still
> dominate.
> > 
> > What I've found is MS competes nominally when on a
> > level playing field; they are the typical "Born on
> 3rd
> > Base and wake up thinking they hit a triple play"
> > people.
> > 
> > All I'm saying is this; I'm on Macromedi

[flexcoders] Re: Flex prototype - production approach

2005-11-04 Thread Dave Wolf
We feel very strongly about this subject.  We developed all our
Flex/RIA solutions so far using a "front to back" approach. 
Effectively we do what we call a Model & Design phase where we develop
out the entire UI in Flex.  In the past we would call this "wire
framing" and would use static images to represent the UI.  Witht he
productivity of Flex we now just do it right in Flex.  We work hand in
 hand with the domain experts to layout and develop every screen in
the application.  Once that is done, in the next phase we bind static
data to the UI, implement validations and flow and actions.  Finally
using the domain knowldge we got from the M&D the back-ends are
developed and finally integrated into the UI.

This approach has tons of advantages but the biggest being this.  JAD
sessions are *boring*.  Business domain experts get very bored very
quickly looking at data models, object models, functional specs etc.
Well as they get bored, they stop caring.  So when you ask "Can we
just skip field X here" they just go "Yup".  Now you do the back-end,
the API's build out the UI without field X.  Wanna guess what happens?
 Yep, they tell you X is missing and the app is flawed because of it.
 Now you have to layer fixes into three to four layers of the
application.  Add the field to the data store, add it to the
persistance layer, add it to the API, add it to the UI, etc.

Domain users are *a lot* more likely to stay engaged in the user
experience.  Then you use those lessons learned to drive back at the
enterprise tier.

We've coined this approach as LookFirst(tm) and use it pretty much
religously.  There are other side benefits like the app is
demonstrable before its finished, blah blah.

We actually sell an offering to our clients for the M&D itself. 
Includes all the screens, data model, project plan, test plan, etc.
Its been very successful.

I would vote for a LookFirst like front to back approach.

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY 




--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> Jesse Warden does A, Darron Schall does B (I would think).
> 
> I like to build stuff quickly, ironing out the weird, diffucult
things, and just continually kneed the mofo like dough, improving, and
releaseing working builds to prove progress.  Sometimes, you realize a
re-write is best, and you can re-use some functions and assets, but
not much (which is why I call it a re-write).  Since Flash & Flex make
that sooo fast, you do that about 3 times.
> 
> I've done B, but that sucks.  I hate UML, as long as you have an
awesome Information Architect, who cares; take the wireframes, and go;
then iterate when you can show a build, and double-check your
assumptions about both the wireframes & the implementation.
> 
> To me, B works in better in a team, and I've had success working
with others, but the pressure at the forefront to "plan it perfectly"
seems like I'm being setup to fail, and when the transition from
prototype to production comes; it feels cheap because the code itself
wasn't really a prototype; it was a planned production piece from the
get go.
> 
> Obviously, I'm leaving out all of the important factors that affect
the above such as investment, leeway, deadlines, # team members,
accountability, aptitude, experience, etc. but bottom line, I dig A. 
The only really big thing about A is deadline; you're emotional
attachment to building re-usable code should be inversely proportional
to the amount of time you have left.  So, if you have a week, don't
care about it.  If you have a month, definately.  Obviously, I'm
implying scope here, but you get the gist.
> 
> 
> - Original Message - 
> From: superabe superabe 
> To: flexcoders@yahoogroups.com 
> Sent: Friday, November 04, 2005 5:19 AM
> Subject: [flexcoders] Flex prototype - production approach
> 
> 
> Just curious about what folks here on the list think / have
experienced about the prototype based approach to RIA developemnt with
Flex.
> 
> Am evaluting a potential project that needs to be prototyped first
and eventually built using Flex, and trying to decide what to use for
prototyping and how much of the prototype can be re-used in the final app.
> 
> The two options I see, are :
> 
> A. do a quick prototype in Flex or Flash for the purposes of feature
gathering / usbility. The start the production app from scratch in Flex.
> 
> B. Do a more planned out / better architected prototype in Flex ,
that can be re-used substantially towards the production app.
> 
> Am interested to know what pros' and cons people have faced with
both approaches.
> TIA
> 
> - superabe
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> 
> 
> 
> SPONSORED LINKS Web site design development  Software design

Re: [flexcoders] Flex prototype - production approach

2005-11-04 Thread Tariq Ahmed






I'll second the A approach. I'm a firm believer in the iterative
development approach (sometimes called the prototyping model,
lightweight methodology, etc...), as opposed to the waterfall approach
(define, analyze, scope, design, build, test, implement, support). 

No matter how much planning and requirements gathering you do up front,
if you put massive up front effort into your planning it's going to
change once the end user gets their hand on something they can see.
It's way better to incrementally in a cylical manner build, user eval,
build, user eval, etc...So the final product will be exactly what the
user wants.


JesterXL wrote:

  
  
  
  Jesse Warden does A, Darron Schall
does B (I would think).
   
  I like to build stuff quickly,
ironing out the weird, diffucult things, and just continually kneed the
mofo like dough, improving, and releaseing working builds to prove
progress.  Sometimes, you realize a re-write is best, and you can
re-use some functions and assets, but not much (which is why I call it
a re-write).  Since Flash & Flex make that sooo fast, you do that
about 3 times.
   
  I've done B, but that sucks.  I hate
UML, as long as you have an awesome Information Architect, who cares;
take the wireframes, and go; then iterate when you can show a build,
and double-check your assumptions about both the wireframes & the
implementation.
   
  To me, B works in better in a team,
and I've had success working with others, but the pressure at the
forefront to "plan it perfectly" seems like I'm being setup to fail,
and when the transition from prototype to production comes; it feels
cheap because the code itself wasn't really a prototype; it was a
planned production piece from the get go.
   
  Obviously, I'm leaving out all of
the important factors that affect the above such as investment, leeway,
deadlines, # team members, accountability, aptitude, experience, etc.
but bottom line, I dig A.  The only really big thing about A is
deadline; you're emotional attachment to building re-usable code should
be inversely proportional to the amount of time you have left.  So, if
you have a week, don't care about it.  If you have a month,
definately.  Obviously, I'm implying scope here, but you get the gist.
   
   
  -
Original Message -
  From:
  superabe
superabe 
  To: flexcoders@yahoogroups.com
  
  Sent: Friday, November 04, 2005 5:19 AM
  Subject: [flexcoders] Flex prototype - production approach
  
  
  
  Just curious about what folks here on the list think / have
experienced about the prototype based approach to RIA developemnt with
Flex.
   
  Am evaluting a potential project that needs to be prototyped
first and eventually built using Flex, and trying to decide what to use
for prototyping and how much of the prototype can be re-used in the
final app.
   
  The two options I see, are :
   
  A. do a quick prototype in Flex or Flash for the purposes of
feature gathering / usbility. The start the production app from scratch
in Flex.
   
  B. Do a more planned out / better architected prototype in Flex
, that can be re-used substantially towards the production app.
   
  Am interested to know what pros' and cons people have faced with
both approaches.
  TIA
   
  - superabe
   







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



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



  














Re: [flexcoders] Flex prototype - production approach

2005-11-04 Thread JesterXL





Jesse Warden does A, Darron Schall does B (I would 
think).
 
I like to build stuff quickly, ironing out the 
weird, diffucult things, and just continually kneed the mofo like dough, 
improving, and releaseing working builds to prove progress.  Sometimes, you 
realize a re-write is best, and you can re-use some functions and assets, but 
not much (which is why I call it a re-write).  Since Flash & Flex make 
that sooo fast, you do that about 3 times.
 
I've done B, but that sucks.  I hate UML, as 
long as you have an awesome Information Architect, who cares; take the 
wireframes, and go; then iterate when you can show a build, and double-check 
your assumptions about both the wireframes & the 
implementation.
 
To me, B works in better in a team, and I've had 
success working with others, but the pressure at the forefront to "plan it 
perfectly" seems like I'm being setup to fail, and when the transition from 
prototype to production comes; it feels cheap because the code itself wasn't 
really a prototype; it was a planned production piece from the get 
go.
 
Obviously, I'm leaving out all of the important 
factors that affect the above such as investment, leeway, deadlines, # team 
members, accountability, aptitude, experience, etc. but bottom line, I dig 
A.  The only really big thing about A is deadline; you're emotional 
attachment to building re-usable code should be inversely proportional to the 
amount of time you have left.  So, if you have a week, don't care about 
it.  If you have a month, definately.  Obviously, I'm implying scope 
here, but you get the gist.
 
 
- Original Message - 
From: superabe superabe 

To: flexcoders@yahoogroups.com 
Sent: Friday, November 04, 2005 5:19 AM
Subject: [flexcoders] Flex prototype - production 
approach

Just curious about what folks here on the list think / have experienced 
about the prototype based approach to RIA developemnt with Flex.
 
Am evaluting a potential project that needs to be prototyped first and 
eventually built using Flex, and trying to decide what to use for prototyping 
and how much of the prototype can be re-used in the final app.
 
The two options I see, are :
 
A. do a quick prototype in Flex or Flash for the purposes of feature 
gathering / usbility. The start the production app from scratch in Flex.
 
B. Do a more planned out / better architected prototype in Flex , that can 
be re-used substantially towards the production app.
 
Am interested to know what pros' and cons people have faced with both 
approaches.
TIA
 
- superabe
 
 
 





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



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



  









Re: [flexcoders] take that roger!

2005-11-04 Thread JesterXL
Can you hurry up and blog that please?  I want to try it this weekend.

- Original Message - 
From: "Dirk Eismann" <[EMAIL PROTECTED]>
To: 
Sent: Friday, November 04, 2005 2:52 AM
Subject: RE: [flexcoders] take that roger!


Great - just send me one of those Timbuk2 messenger bags (black) with a
nice moniker stitched onto it, e.g. "Flex 2 - only the cool stuff"
 
Dirk.
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Friday, November 04, 2005 6:59 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] take that roger!



For sure!

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Roger Gonzalez
Sent: Thursday, November 03, 2005 9:46 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] take that roger!

 

Nah, these threads bored me anyway.  ;-)

I do think Dirk wins the Clever Hack of the Day Award, though!

-rg




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


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








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



 




 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




Re: [flexcoders] Re: TextInput/List matching

2005-11-04 Thread Stanislav Zayarsky
Hello Matt,

I have just implemented this feature! :)

If you will have questions about implementation I will gladly help you.

The sample here http://www.richinternetapps.com/archives/79.html
is using much memory but pretty fast, I created application that uses
less memory but more cpu extensive. So it is possible to find balance
here.

Best regards
Stanislav

On 11/4/05, huhgawz <[EMAIL PROTECTED]> wrote:
> Maybe this help you:
>
> http://www.richinternetapps.com/archives/79.html
>
>
> --- In flexcoders@yahoogroups.com, "Matt Boles" <[EMAIL PROTECTED]> wrote:
> >
> > Anyone have code to share to accomplish the following:
> >
> > 1.A blank TextInput and populated List controls are used
> > 2.As the user types into the TextInput, the List control
> > dynamically displays only words than match what the user has entered
> > thus far into the TextInput
> > 3.When the Backspace key is pressed the List also updates
> >
> >
> >
> > Hoping someone has already fought this battle.
> >
> >
> >
> > Thanks-
> >
> > Matt
> >
> >
> >
> >
> >
> >
> >
> > Matthew S. Boles
> >
> > Principal Instructor
> >
> > Macromedia
> >
> > [EMAIL PROTECTED] 
> >
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




RE: [flexcoders] passing javascript values to sws/mxml

2005-11-04 Thread Matt Horn





If you're talking Flex 2, then check out this chapter in 
the DevApps book:
 http://livedocs.macromedia.com/labs/1/flex/1051.html
 
hth,
matt horn
flex docs

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Matt 
  ChotinSent: Thursday, November 03, 2005 11:43 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] passing 
  _javascript_ values to sws/mxml
  
  
  http://livedocs.macromedia.com/flex/15/flex_docs_en/2349.htm
   
   
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Boddula, 
  SridharSent: Thursday, 
  November 03, 2005 1:53 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] passing _javascript_ 
  values to sws/mxml
   
  Hi,How can 
  I pass any parameters/values from _javascript_ to .swf or 
  .mxmlwith out reloading .swf/mxml 
  every time?Thanks,Sridhar Boddula,





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



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



  









[flexcoders] Re: TextInput/List matching

2005-11-04 Thread huhgawz
Maybe this help you:

http://www.richinternetapps.com/archives/79.html


--- In flexcoders@yahoogroups.com, "Matt Boles" <[EMAIL PROTECTED]> wrote:
>
> Anyone have code to share to accomplish the following:
> 
> 1.A blank TextInput and populated List controls are used
> 2.As the user types into the TextInput, the List control
> dynamically displays only words than match what the user has entered
> thus far into the TextInput
> 3.When the Backspace key is pressed the List also updates
> 
>  
> 
> Hoping someone has already fought this battle.
> 
>  
> 
> Thanks-
> 
> Matt
> 
>  
> 
>  
> 
>  
> 
> Matthew S. Boles
> 
> Principal Instructor
> 
> Macromedia
> 
> [EMAIL PROTECTED] 
>






 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Re: Image ScaleContent

2005-11-04 Thread jwc_wensan
Janice:

That worked.

Thanks,

Jack


--- In flexcoders@yahoogroups.com, "Janice Karin" <[EMAIL PROTECTED]> 
wrote:
>
> It's actually working as expected. By default, the size of an Image
> control is the size of its contents. scaleContent is set to true by
> default, but that only says the image itself should fill the Image
> control and thus has no effect unless you add width and height
> properties to the Image control. If you add width="100%", the Image
> control should expand and contract as you resize the application. 
The
> image itself, however, won't. The problem is that 
maintainAspectRatio is
> also set to true by default and that trumps resizing requests. If 
you
> want to allow the image to resize only in the horizontal direction 
and
> don't care if it gets distorted (which appears to be the case from 
your
> original code), set maintainAspectRatio="false". Try this:
> 
>  
> 
> http://www.macromedia.com/2003/mxml";
> marginTop="0" marginBottom="0" 
> marginLeft="0" marginRight="0" horizontalGap="0"
> backgroundColor="#71897F">
> 
> 
> 
>  source="@Embed('../images/MainMenuBackground.png')"/>
> 
> 
> 
> 
> 
>  
> 
> You can read more about maintainAspectRatio here:
> 
>  
> 
> http://livedocs.macromedia.com/flex/15/flex_docs_en/0439.htm
> 
>  
> 
> Janice
> 
> Flex Documentation
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Matt Chotin
> Sent: Friday, November 04, 2005 12:03 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Re: Image ScaleContent
> 
>  
> 
> I'm baffled, this is a bug IMHO which you should file at
> http://www.macromedia.com/go/wish.  I verified that it's still 
there in
> Flex 2 so there must be something we're not understanding about 
how this
> should work.
> 
>  
> 
> In the meantime let's just hack around it by using the 
backgroundImage
> and backgroundSize properties instead:
> 
>  
> 
> 
> 
>  
> 
> HTH,
> 
> Matt
> 
>  
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of jwc_wensan
> Sent: Wednesday, November 02, 2005 9:15 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Image ScaleContent
> 
>  
> 
> Matt:
> 
> I made the change by adding width="100%" . . .
> 
>source="@Embed('../images/MainMenuBackground.png')"/>
> 
> It had no effect.
> 
> Other ideas?
> 
> Thanks,
> 
> Jack
> 
> --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> 
> wrote:
> >
> > I think you still need to set width="100%" on the image, the
> > scaleContent is whether it should scale proportionally or 
stretch.
> > 
> >  
> > 
> > Matt
> > 
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of jwc_wensan
> > Sent: Wednesday, November 02, 2005 1:08 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Image ScaleContent
> > 
> >  
> > 
> > I have the following code.
> > 
> > http://www.macromedia.com/2003/mxml";   
> > xmlns="*"
> >marginTop="0"
> >marginBottom="0"
> >marginLeft="0"
> >marginRight="0"
> >horizontalGap="0"
> >backgroundColor="#71897F">
> > 
> >  > width="100%" 
> > height="69">
> >  >   scaleContent="true" 
> >   source="@Embed('../images/MainMenuBackground.png')"/>
> > 
> > 
> > 
> > 
> > I realize that the scaleContent does not need to be set, since 
the 
> > default is True, however, it does not scale either way.
> > 
> > I only displays the image width as it's real width.  In other 
> words, 
> > the image is about 3/4 of the width of my app, but it does not 
> scale 
> > all the way to the right.
> > 
> > I've looked at the manuals, which is where I found out about the 
> > scaleContent, but must be missing something.
> > 
> > Any ideas?
> > 
> > Thanks,
> > 
> > Jack
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > 
> > 
> > 
> > 
> > SPONSORED LINKS 
> > 
> > Web site design development
> >  t=ms&k=Web+site+design+development&w1=Web+
> > 
> 
site+design+development&w2=Computer+software+development&w3=Software+
> des
> > 
> 
ign+and+development&w4=Macromedia+flex&c=4&s=126&.sig=ynjozILdtUiijfL
> jiz
> > 5l1Q>  
> > 
> > Computer software development
> >  t=ms&k=Computer+software+development&w1=We
> > 
> 
b+site+design+development&w2=Computer+software+development&w3=Softwar
> e+d
> > 
> 
esign+and+development&w4=Macromedia+flex&c=4&s=126&.sig=i_RMdAMzxP1R8
> fB7
> > NcnaqQ>  
> > 
> > Software design and development
> >  t=ms&k=Software+design+and+development&w1=
> > 
> 
Web+site+design+development&w2=Computer+software+development&w3=Softw
> are
> > 
> 
+design+and+devel

[flexcoders] Cellrenderer For ComboBox

2005-11-04 Thread moyosaned
created an cellRenderer, I want to use this cellrenderer in a combobox;

I tried the following:


http://www.macromedia.com/2003/mxml";
creationComplete="initApp()">







I use the creationComplete, otherwise the dropdown does not exists
where I have to set the cellRenderer for. but nothing happens after
it, I am not tracing anything when I fill the Combobox.dataprovider

So anybody






 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] TextInput/List matching

2005-11-04 Thread Matt Boles










Anyone have code to share to accomplish the following:


 A blank TextInput
 and populated List controls are used
 As the user types
 into the TextInput, the List control dynamically displays only words than match
 what the user has entered thus far into the TextInput
 When the Backspace
 key is pressed the List also updates


 

Hoping someone has already fought this battle.

 

Thanks-

Matt

 

 

 

Matthew S. Boles

Principal Instructor

Macromedia

[EMAIL PROTECTED]

 









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



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



  











[flexcoders] Re: custom components and custom data provider - howto?

2005-11-04 Thread negttid



I have found a solution by myself, but wonder it doesn't work with the XML from file the same way as embed XML:testModel1 works!testModel1 works not!Why? Any ideas?                                                                 






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Dual core license policy

2005-11-04 Thread Jeff Whatcott





Interesting discussion.  Our current licensing is by 
processor and we don't make any special distinction for dual core 
processors.  We're studying this closely right now, and of course we reserve the right 
to change our licensing policies in the future, but for now there is no 
distinction for dual core.   


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mika 
KiljunenSent: Friday, November 04, 2005 2:29 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Dual core license 
policy


I disagree with this, 
basically I still concider dual core CPU as a single CPU. If it’s counted as 2 
CPU’s on license policy then you’re better off having 2 separate CPU’s since 
they perform much better than the dual cores. If I remember correctly, Oracle 
counts dual cores as 1.5 processors and they round it upwards so 1 dual cores 
comes out as 2 and 2 dual cores comes out as 3. This also I think is just stupid 
J
 
At least Microsoft 
shows some sense counting a dual as a single processor. 

 
Still no comment from 
Macromedia?
 
-Mika
 




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Clint 
ModienSent: 3. marraskuuta 
2005 18:25To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Dual core license 
policy
 

I disagree... for all interpretations of 
the definition at wikipedia it results in the same conclusion... 
 a dual-core cpu is 2 cpu's/processors.  That's the point.  A 
mobo with one dual core processor uses almost the same power as a mobo with 2 
separate processors.  All they managed to do was squeeze 2 cpu's on one 
die. 

 

It's 2 
cpu's. 

On 11/3/05, João Fernandes <[EMAIL PROTECTED]> 
wrote: 
Clint,
 
http://en.wikipedia.org/wiki/Dual_core 
 
 
Its seems that it 
depends on the point of view. What are we counting? the chip? or independent 
cores inside a chip? It seems that many are counting the chip himself no matter 
how many individual cores they have. It's up to Macromedia what's their point of 
view. 
 

 
João 
Fernandes
Secção de 
Desenvolvimento
Departamento de 
Informática

 
 



From: flexcoders@yahoogroups.com [mailto: 
flexcoders@yahoogroups.com] On Behalf Of 
Clint ModienSent: 
quinta-feira, 3 de Novembro de 2005 15:47To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Dual core license 
policy 

Actually Dave 
dual-core *is* 2 
physical processors. As opposed to Intel's Hyper Threading which is two 
"virutal" processors.  So if what you read is true... then Macromedia would 
consider dual core as 2 processors. 

On 11/3/05, Dave Carabetta <[EMAIL PROTECTED] > 
wrote: 
On 11/3/05, Mika Kiljunen < 
[EMAIL PROTECTED]> wrote: > What is the Macromedia's 
license policy on dual core processors? Is a single dual core processor 
calculated as 1, 1.5 or 2 processors ?>> I couldn't find this info 
anywhere, but I think it would be nice to know J >I can't 
remember where I read it, but I know for sure thatMacromedia's current 
policy is to use the number of *physical*processors in the server as the 
number. So a dual core would just beone processor. 
Regards,Dave. Yahoo! Groups 
Sponsor ~-->Get Bzzzy! (real tools to help you find a 
job). Welcome to the Sweet Life.http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM~->--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links <*> To visit your group on the web, go 
to:   http://groups.yahoo.com/group/flexcoders/<*> To 
unsubscribe from this group, send an email to:    [EMAIL PROTECTED]<*> Your 
use of Yahoo! Groups is subject to:   http://docs.yahoo.com/info/terms/ 

--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



YAHOO! GROUPS 
LINKS 

 

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









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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

[flexcoders] Re: Flex2: pricing info

2005-11-04 Thread Dave Wolf
I am a former lead Product Manager from the .NET servers team at
Microsoft.  I think I have a pretty good perspective here 

They have a saying in Redmond.  

"Its better to chase tail lights then blaze head lights"

In other words, let everyone else go establish the market, let
everyone else mkae mistakes, then swoop in builing the better
mousetrap and take the market away.

I can also pretty much guarantee they read these forums.  We used to
send half a dozen people to JavaOne.

They wont lie down, but they also don't always come in with that tail
light strategy and win.  They often don't actually.

In the end, choose the right technology today for your business.  You
can never predict the future.



-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY 


--- In flexcoders@yahoogroups.com, Robert Thompson
<[EMAIL PROTECTED]> wrote:
>
> That's cool, but believe me, I've seen things that one
> should not see from actual Microsoft documents.
> 
> Flash is here to stay, but I believe a battle will
> ensue in the next year or so and it will be
> "diversionary" as is always the case with ms.
> 
> They are smart people but apply less of their smarts
> to products, and more of it to very diversionary ways
> to offset who might be to blame.
> 
> Take the Java JVM, they licensed it, gave a diplomatic
> outward idea of supporting it, and it was found during
> trial that they purposely hacked it to perform poorly.
> 
> They will _not_ I believe do this in IE7 -- but I _do_
> believe it's entirely possible for them to use
> co-branded browsers of theirs to "accidently
> purposely" pass off bad code to other markets.
> 
> It always takes a offensive position with people like
> this; they live by a different philosophy and are very
> persistent and clever in diversionary tactics of
> long-term competition; patient also.
> 
> Avalon is good; good for Windows.  But the essence of
> Flash is great performance on multiple platforms, and
> it will take good graphics engines in OSX and Linux
> and Flash support of them to keep competetive.
> 
> Remember, unfortunately IE and Windows still dominate.
> 
> What I've found is MS competes nominally when on a
> level playing field; they are the typical "Born on 3rd
> Base and wake up thinking they hit a triple play"
> people.
> 
> All I'm saying is this; I'm on Macromedias side; I'm
> not looking for the destruction of MS, but I am very
> aware of what they are, who they are (they are what
> they do and they can never escape that), and the fact
> that I believe those high up such as billg and mulglia
> and alchin etc. and even whats-his-shiny-head-name,
> they believe it's perfectly fine in their hearts to
> compete like they do -- Please just keep an eye on
> them Macromedia.  I realize there's a need to
> cooperate -- but look them in the eye diplomatically
> but fully realize there are documents that show what
> kind of people they are and they cannot be trusted
> unfortunately until they have a long term proof of it.
> 
> -r
> 
> --- Aldo Bucchi <[EMAIL PROTECTED]> wrote:
> 
> > > ...I strongly
> > > believe with the coming of Avalon, and the
> > dramatic
> > > milestone in Video Flash Player 8 has made, that
> > we
> > > will see the opportunistic activities to try to
> > harm
> > > flash player...
> > 
> > Yeah... it sometimes scares me to think that MS
> > could do something to harm FP.
> > But then, the only thing they really "could" do is
> > to completely cut
> > support for the player in the newer versions of
> > their browser / OS /
> > or whatever ( I can't think of a smaller/simpler
> > boycott ).
> > BUT, since Flash content is so prevalent on the net,
> > they would be
> > risking a major flee from IE to Firefox or any
> > other! What do you
> > think my little brother would do if he finds that
> > the new version of
> > IE doesn't allow him to play his favorite flash game
> > on the web 
> > or my mom sees a zillion blank squares where flash
> > ads were supposed
> > to go.
> > 
> > and then I feel safe: flash is here to stay!
> > 
> > 
> > On 11/3/05, Robert Thompson
> > <[EMAIL PROTECTED]> wrote:
> > > This is a good argument Dave.
> > >
> > > I agree AJAX is good in it's data retrieval; but
> > my
> > > experiences thus far is that it is a "hack" more
> > than
> > > anything.  If you have any good url examples maybe
> > > I'll reconsider this.
> > >
> > > To me, Search Engine Indexing is an issue here
> > also;
> > > that may not be important for Corprate Intra-net,
> > but
> > > for the Cinematic eCommerce "experience" as you
> > call
> > > it (and I agree) with the local data that can be
> > > managed in an actual data-management paradigm
> > (again
> > > versus a hack) it is a huge selling factor.
> > >
> > > I have a method of indexing to Google until there
> > is
> > > full Search Engine compliance and protocol with
> > Flash.
> > >
> > > My main argument actua

RE: [flexcoders] HTML Text in TextArea

2005-11-04 Thread Matt Horn





>> I don't know how to link to 
places in LiveDocs.
 
In livedocs, the actual URL of the page you are currently 
viewing is at the bottom of the page. For example, at the bottom of the page you 
provide a path to, it says:
 
"Current page: http://livedocs.macromedia.com/flash/mx2004/main_7_2/1851.html "
 
hth,
 
matt horn
flex docs

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  JesterXLSent: Thursday, October 27, 2005 4:21 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] HTML Text in 
  TextArea
  
  Sorry G, I don't know how to link to places in 
  LiveDocs.
   
  Basically Flash MX 2004 > ActionScript 
  Language Reference > T > TextSnapshot.  It's what FlashPaper uses 
  for static text.  I'm thinking you could possibly either utilize that 
  with Text, or emulate your own selection like FlashPaper does.
   
   
  - Original Message - 
  From: Spike 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, October 27, 2005 4:08 PM
  Subject: Re: [flexcoders] HTML Text in TextArea
  That sounds promising. FlashPaper has the exact behaviour I'm 
  after.Any references you can point me to other than the livedocs which 
  I'm off to check now.Spike
  On 10/27/05, JesterXL <[EMAIL PROTECTED]> 
  wrote: 
  
Another idea is to do what FlashPaper does, and 
use the Flash Player 7 Selection & TextSnapshot features to select 
multiple text areas.
 
- Original Message - 
From: 
JesterXL 
To: flexcoders@yahoogroups.com 

Sent: Thursday, October 27, 2005 3:44 PM
Subject: Re: [flexcoders] HTML Text in 
TextArea


System.setClipboard(topLeft_ti.text + 
middle_ti.text + right_ti.text);
 
- 
Original Message - 
From: 
Spike 
To: flexcoders@yahoogroups.com 
Sent: Thursday, October 27, 2005 2:02 PM
Subject: Re: [flexcoders] HTML Text in TextArea
You can do that, but I still haven't found any way to do 
drag-select of text across multiple table cells.Any 
ideas?Spike
On 10/27/05, JesterXL <[EMAIL PROTECTED]> wrote: 

  Use MXML instead.
   
  You can use Grid, VBox, HBox, etc. to do what 
  a table tag does, and more.
  
   
  - 
  Original Message - 
  From: 
  Mehdi, Agha 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, October 27, 2005 1:43 PM
  Subject: RE: [flexcoders] HTML Text in TextArea
  
  
  Wow, that sucks. 
  I can use any other control that will help do that sort of thing. If Flash 
  player can not render  what tags can I 
  use to give the html a grid look? Actually, the html is a result of CHTTP 
  call to a remote server and I parse the whole document to extract the 
  piece I want. I can replace all my TABLE related tags with anything that 
  will help.
   
  Thanks
  
  Agha 
  Mehdi 
  IDT - 
  eBusiness Program Manager 
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] On 
  Behalf Of SpikeSent: Thursday, October 27, 2005 1:33 
  AMTo: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTML Text 
  in TextArea
   
  Yeah,The TextArea doesn't render table 
  tags. I don't think the flash player HTML capabilities support table tags, 
  but I really could use this sort of functionality.Has anyone got 
  an example of rendering a table in Flash?I've seen a few examples, 
  but one of the requirements for me is to be able to drag select inside the 
  cells and across multiple cells. FlashPaper allows you to do this, so I 
  know it's technically possible, but I haven't seen anything else that does 
  it.Spike
  
  On 10/27/05, Matt Chotin < 
  [EMAIL PROTECTED]> wrote:
  
  I don't think the 
  TextArea is capable of rendering  tags.
   
  Matt
   
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, AghaSent: Wednesday, October 26, 2005 
  3:25 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] HTML Text in 
  TextArea
   
  Hi 
  All,
  How can I show 
  HTML in TextArea so that instead of spitting out html tags, it actually 
  renders html? I am replacing "<" 
  and ">" 
  with "<" 
  and ">" 
  respectively before I send it to Flash Client. If I don't replace that it 
  does render HTML but doesn't show data in html 
  table format 
  and I have table in my html.
  Thanks
  Agha 
  Mehdi
  IDT - 
  eBusiness Program Manager
  Work: 
  408.284.8239
  Cell  : 
  209.275.0482
  Fax  
  :  408.284.2766
  -- Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups

RE: [flexcoders] Re: Image ScaleContent

2005-11-04 Thread Janice Karin










It’s actually working as expected.
By default, the size of an Image control is the size of its contents.
scaleContent is set to true by default, but that only says the image itself
should fill the Image control and thus has no effect unless you add width and
height properties to the Image control. If you add width=”100%”,
the Image control should expand and contract as you resize the application. The
image itself, however, won’t. The problem is that maintainAspectRatio is
also set to true by default and that trumps resizing requests. If you want to
allow the image to resize only in the horizontal direction and don’t care
if it gets distorted (which appears to be the case from your original code),
set maintainAspectRatio=”false”. Try this:

 


marginLeft="0" marginRight="0" horizontalGap="0"
backgroundColor="#71897F">



'../images/MainMenuBackground.png')"/>





 

You can read more about
maintainAspectRatio here:

 

http://livedocs.macromedia.com/flex/15/flex_docs_en/0439.htm

 

Janice

Flex Documentation

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: Friday, November 04, 2005
12:03 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
Image ScaleContent



 

I’m baffled, this is a bug IMHO
which you should file at http://www.macromedia.com/go/wish.
 I verified that it’s still there in Flex 2 so there must be
something we’re not understanding about how this should work.

 

In the meantime let’s just hack
around it by using the backgroundImage and backgroundSize properties instead:

 



 

HTH,

Matt

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jwc_wensan
Sent: Wednesday, November 02, 2005
9:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Image
ScaleContent



 

Matt:

I made the change by adding width="100%"
. . .


 
source="@Embed('../images/MainMenuBackground.png')"/>

It had no effect.

Other ideas?

Thanks,

Jack

--- In flexcoders@yahoogroups.com,
"Matt Chotin" <[EMAIL PROTECTED]> 
wrote:
>
> I think you still need to set
width="100%" on the image, the
> scaleContent is whether it should scale
proportionally or stretch.
> 
>  
> 
> Matt
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com

[mailto:flexcoders@yahoogroups.com]
On
> Behalf Of jwc_wensan
> Sent: Wednesday, November 02, 2005 1:08 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Image ScaleContent
> 
>  
> 
> I have the following code.
> 
> http://www.macromedia.com/2003/mxml"  

> xmlns="*"
>    marginTop="0"
>    marginBottom="0"
>    marginLeft="0"
>    marginRight="0"
>    horizontalGap="0"
>   
backgroundColor="#71897F">
> 
> 
>
width="100%" 
>
height="69">
> 
>  
scaleContent="true" 
>  
source="@Embed('../images/MainMenuBackground.png')"/>
> 
> 
> 
> 
> I realize that the scaleContent does not need
to be set, since the 
> default is True, however, it does not scale
either way.
> 
> I only displays the image width as it's real
width.  In other 
words, 
> the image is about 3/4 of the width of my app,
but it does not 
scale 
> all the way to the right.
> 
> I've looked at the manuals, which is where I
found out about the 
> scaleContent, but must be missing something.
> 
> Any ideas?
> 
> Thanks,
> 
> Jack
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com

> 
> 
> 
> 
> SPONSORED LINKS 
> 
> Web site design development
>  
site+design+development&w2=Computer+software+development&w3=Software+
des
> 
ign+and+development&w4=Macromedia+flex&c=4&s=126&.sig=ynjozILdtUiijfL
jiz
> 5l1Q>  
> 
> Computer software development
>  
b+site+design+development&w2=Computer+software+development&w3=Softwar
e+d
> 
esign+and+development&w4=Macromedia+flex&c=4&s=126&.sig=i_RMdAMzxP1R8
fB7
> NcnaqQ>  
> 
> Software design and development
>  
Web+site+design+development&w2=Computer+software+development&w3=Softw
are
> 
+design+and+development&w4=Macromedia+flex&c=4&s=126&.sig=4g8hODKyQov
1GX
> OxaXG2Sg>  
> 
> Macromedia flex
>  
development&w2=Computer+software+development&w3=Software+design+and+d
eve
>
lopment&w4=Macromedia+flex&c=4&s=126&.sig=hhODNnONza_qi3x2OWe-Qg> 

> 
>  
> 
>  
> 
>  
> 
> 
> 
> YAHOO! GROUPS LINKS 
> 
>  
> 
> *  Visit your
group "flexcoders
> 
" on the web.
>     
> *  To
unsubscribe from this group, send an email to:
>  
[EMAIL PROTECTED]
> 
subject=Unsubscribe> 
>     
> *  Your us

Re: [flexcoders] Re: Flex2: pricing info

2005-11-04 Thread Robert Thompson
That's cool, but believe me, I've seen things that one
should not see from actual Microsoft documents.

Flash is here to stay, but I believe a battle will
ensue in the next year or so and it will be
"diversionary" as is always the case with ms.

They are smart people but apply less of their smarts
to products, and more of it to very diversionary ways
to offset who might be to blame.

Take the Java JVM, they licensed it, gave a diplomatic
outward idea of supporting it, and it was found during
trial that they purposely hacked it to perform poorly.

They will _not_ I believe do this in IE7 -- but I _do_
believe it's entirely possible for them to use
co-branded browsers of theirs to "accidently
purposely" pass off bad code to other markets.

It always takes a offensive position with people like
this; they live by a different philosophy and are very
persistent and clever in diversionary tactics of
long-term competition; patient also.

Avalon is good; good for Windows.  But the essence of
Flash is great performance on multiple platforms, and
it will take good graphics engines in OSX and Linux
and Flash support of them to keep competetive.

Remember, unfortunately IE and Windows still dominate.

What I've found is MS competes nominally when on a
level playing field; they are the typical "Born on 3rd
Base and wake up thinking they hit a triple play"
people.

All I'm saying is this; I'm on Macromedias side; I'm
not looking for the destruction of MS, but I am very
aware of what they are, who they are (they are what
they do and they can never escape that), and the fact
that I believe those high up such as billg and mulglia
and alchin etc. and even whats-his-shiny-head-name,
they believe it's perfectly fine in their hearts to
compete like they do -- Please just keep an eye on
them Macromedia.  I realize there's a need to
cooperate -- but look them in the eye diplomatically
but fully realize there are documents that show what
kind of people they are and they cannot be trusted
unfortunately until they have a long term proof of it.

-r

--- Aldo Bucchi <[EMAIL PROTECTED]> wrote:

> > ...I strongly
> > believe with the coming of Avalon, and the
> dramatic
> > milestone in Video Flash Player 8 has made, that
> we
> > will see the opportunistic activities to try to
> harm
> > flash player...
> 
> Yeah... it sometimes scares me to think that MS
> could do something to harm FP.
> But then, the only thing they really "could" do is
> to completely cut
> support for the player in the newer versions of
> their browser / OS /
> or whatever ( I can't think of a smaller/simpler
> boycott ).
> BUT, since Flash content is so prevalent on the net,
> they would be
> risking a major flee from IE to Firefox or any
> other! What do you
> think my little brother would do if he finds that
> the new version of
> IE doesn't allow him to play his favorite flash game
> on the web 
> or my mom sees a zillion blank squares where flash
> ads were supposed
> to go.
> 
> and then I feel safe: flash is here to stay!
> 
> 
> On 11/3/05, Robert Thompson
> <[EMAIL PROTECTED]> wrote:
> > This is a good argument Dave.
> >
> > I agree AJAX is good in it's data retrieval; but
> my
> > experiences thus far is that it is a "hack" more
> than
> > anything.  If you have any good url examples maybe
> > I'll reconsider this.
> >
> > To me, Search Engine Indexing is an issue here
> also;
> > that may not be important for Corprate Intra-net,
> but
> > for the Cinematic eCommerce "experience" as you
> call
> > it (and I agree) with the local data that can be
> > managed in an actual data-management paradigm
> (again
> > versus a hack) it is a huge selling factor.
> >
> > I have a method of indexing to Google until there
> is
> > full Search Engine compliance and protocol with
> Flash.
> >
> > My main argument actually in all of this, is I
> just
> > know, and again, mark my words, that MS will
> attempt
> > hacks in the next 2 years, just as they did for
> Java
> > JVM for Sun (and remember this was proven fact)
> and
> > Apple's QuickTime (also proven fact), and Blue
> > Mountain and Real Player had their issues...I
> strongly
> > believe with the coming of Avalon, and the
> dramatic
> > milestone in Video Flash Player 8 has made, that
> we
> > will see the opportunistic activities to try to
> harm
> > flash player...
> >
> > ...I'm going to stop there but this is all good
> > discussion for one reason: The Flex guys need all
> the
> > perspective they can get just in case they are
> unaware
> > of what some of us know...I hope Ajax does what it
> can
> > do...but then again, DHTML was supposed to be more
> > than it actually is so was VRML...nuff said...
> >
> > -r
> >
> >
> > --- Dave Wolf <[EMAIL PROTECTED]> wrote:
> >
> > > The problem with this argument is that there are
> > > indeed very good
> > > products which make using AJAX extremely easy
> these
> > > days in a simple
> > > 4GL environment.  You can do things like right
> click
> > > a control, enabl

[flexcoders] Re: Flex 2:Can you center a popup from the inside?

2005-11-04 Thread Greg Johnson
Nope
--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> Is the err function being called from a class that extends 
> UIObject/UIComponent/View?
> 
> - Original Message - 
> From: "Greg Johnson" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, November 03, 2005 3:44 PM
> Subject: [flexcoders] Flex 2:Can you center a popup from the inside?
> 
> 
> Here is the popup function
> 
> // Error Handler Function
> public function err(message:String):Void {
> var errpop:stdErr = stdErr(PopUpManager.createPopUp
> (this, stdErr, true));
> errpop.message.text = message;
> }
> 
> And here is the stdErr.mxml file it uses for the actual popup.
> 
> 
> http://www.macromedia.com/2005/mxml";
> width="240" height="341" closeButton="true"
> borderStyle="outset" cornerRadius="10" title="Notice"
> fontWeight="bold">
> 
> 
> 
>  bottom="5" top="25"/>
> 
> 
> 
> 
> 
> 
>  marginBottom="5" marginLeft="5" marginRight="5" marginTop="5">
>  click="PopUpManager.removePopUp(this)" width="100%"/>
> 
> 
> 
> I have tried a few variations to get centerPopUp to work, but they
> all either give an error when I try to compile or just don't center
> it.
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>







 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




RE: [flexcoders] need help from web service in action script 2

2005-11-04 Thread Mink, Joseph





Hi,
 
I was unable to dynamically instantiate Webservice objects 
in ActionScript (this has been rather extensively discussed in this group 
previously).  Macromedia pretty much told me that dynamic instantiation of 
Webservice objects was not supported in Flex 1.5, and that you must define the 
Webservice object statically in MXML.
 
See the flex docs for how to do that, here's mine as a 
reference:
 
    
    fault="wsFault 
(event)"    
id="uiMgrWs"    
protocol="http"    wsdl="http://localhost:8080/uimanager/UIManagerService?wsdl">    
    
    
    
    

 
Hope that's worth something to you!  Your AS code can 
refer to the above object as uiMgrWs, and might call something like 
uiMgrWS.getAlerts ();


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
collection711Sent: Friday, November 04, 2005 2:27 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] need 
help from web service in action script 2
hi there!i'm try to write custom a class about make the 
call web service to.net webservice server. The class will be in actionscript 
2 , i cannot find any document to do that. i found some example code like 
this:new mx.servicetags.Service(this._url,"http://localhost:8500/mmcourses/faad2004/dbs/Bikeparts.cfc?wsdl", 
newmx.services.Log(1, "WebService"), null, this, null, null, null, 
null,false);is any one can show me where i can find document about 
mx.servicetagsin flex. I also read flex document but i confuse about how to 
callconstructor like example above what is exactly first parameter 
about,i know the second is address of webservice, what's about thrid and 
soon parameter about.thanks.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Is there a way to force a toolTip to show rather than rolling mouse over ?

2005-11-04 Thread Bruno Martins



Hi,
 
First:
Try use this functions in flex 1.5:
ToolTipManager.createAndShowTip();
ToolTipManager.hideAndDestroyTip();
Second:
Use this:

 showDataTips="true">

Tell me, if it works.
Bye.
On 11/1/05, parinda_b_patel <[EMAIL PROTECTED]> wrote:
Hi,Is there a way to fire an event or something so that the 
toolTip on adatagrid control shows up ? I know currently the toolTip shows upafter you mouse over certain row in a datagrid, provided that you have
supplied dataTipFunction . But if you need to programatically show itwithout mousing over is that possible ?Second question I have is that I have a tree in which I want to showthe 
toolTip only if the label is partially visible on the tree-node.For nodes whose labels are short and they are visible fully , I do notwant the toolTip to show up.Is
 there a way to show toolTips only whenyou wish and turn it off for other rows?Thanks in advance--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 


YAHOO! GROUPS LINKS 

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



-- Bruno Gustavo MartinsCel: (11)9585-9587Tel: (11)3965-1909 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] holomatix with Flex

2005-11-04 Thread cuec7564
Has someone already tried to use holomatix with Flex ?

If so, could he give me an Howto information ?

thanks





 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Re: Forcing Recompile in production mode

2005-11-04 Thread Dave Wolf
The goal was to not restart the server.  There is some irony in a
setting called "production" which requires the server to come down .



-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY 


--- In flexcoders@yahoogroups.com, "Andrew Kinloch" <[EMAIL PROTECTED]> wrote:
>
> There is a way, it seems somewhat backwards and im sure there a re
> better methods but this is what I did.
> 
>  
> 
> 1. Change the servers flex config file and set production mode to false.
> 
>  
> 
> 2. Restart flex
> 
>  
> 
> 3. Browse to the .mxml file and it will recompile it
> 
>  
> 
> 4. Once you are happy that it has implemented these changes and no
> further changes are required alter the flex config file and set
> production mode to true and restart again.
> 
>  
> 
> Andrew Kinloch | Internet Services Administrator | Southland District
> Council
> Phone - 64 3 2187259 | Fax - 64 3 2189460 | E-Mail -
> [EMAIL PROTECTED]  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of David Harris
> Sent: Friday, 4 November 2005 9:26 a.m.
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Re: Forcing Recompile in production mode
> 
>  
> 
> Thanks for the answer Dave.
> 
> I guess the next question is,
> Do the changes show up after a time period?
> If so, how do I find out what the time is.
> 
> Cheers,
> 
> David
> 
> On 11/4/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
> >  We never found one.  The SWF's are cached by the Filter in memory.
> >
> >  In theory a "hotswap reload" of the web app should do it, but would
> >  then cause a pretty hefty leak, since thats how most containers do
> >  hotswapping, is they leak that ClassLoader.
> >
> >  --
> >  Dave Wolf
> >  Cynergy Systems, Inc.
> >  Macromedia Flex Alliance Partner
> >  http://www.cynergysystems.com
> >
> >  Email:  [EMAIL PROTECTED]
> >  Office: 866-CYNERGY
> >
> >
> >  --- In flexcoders@yahoogroups.com, David Harris <[EMAIL PROTECTED]>
> wrote:
> >  >
> >  > Hi,
> >  >
> >  > I have seached docs, but havn't turn up an answer yet,
> >  > so thought I'ld ask you guys...
> >  >
> >  > We have a Developement Flex, and a Live Flex server.
> >  >
> >  > The live server is in production mode.
> >  >
> >  > We have done some fixes of our app, and moved them on to the live
> >  server.
> >  >
> >  > Is there anyway to force a re-compile of a Flex App on a server in
> >  > production mode with out restarting the Application Server?
> >  >
> >  > Cheers,
> >  >
> >  > David
> >  >
> >
> >
> >
> >
> >
> >
> >
> >  --
> >  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
> >
> >
> >  Visit your group "flexcoders" on the web.
> >
> >  To unsubscribe from this group, send an email to:
> >  [EMAIL PROTECTED]
> >
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >
> >  
> >
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> 
> 
> 
> 
> SPONSORED LINKS 
> 
> Web site design development
>  site+design+development&w2=Software+design+and+development&w3=Macromedia
> +flex&w4=Software+development+best+practice&c=4&s=131&.sig=FkTWphZzV9mFu
> lU7V3u7pQ>  
> 
> Software design and development
>  Web+site+design+development&w2=Software+design+and+development&w3=Macrom
> edia+flex&w4=Software+development+best+practice&c=4&s=131&.sig=w0jnvy4gy
> xC04c4dhRnw6A>  
> 
> Macromedia flex
>  development&w2=Software+design+and+development&w3=Macromedia+flex&w4=Sof
> tware+development+best+practice&c=4&s=131&.sig=XXu7YeegB3Vi-5Qngf6oNQ>  
> 
> Software development best practice
>  w1=Web+site+design+development&w2=Software+design+and+development&w3=Mac
> romedia+flex&w4=Software+development+best+practice&c=4&s=131&.sig=ZT_U6e
> _iPgXSriY_dI9nIg>  
> 
>  
> 
>  
> 
>  
> 
> 
> 
> YAHOO! GROUPS LINKS 
> 
>  
> 
> *  Visit your group "flexcoders
>  " on the web.
> 
> *  To unsubscribe from this group, send an email to:
>[EMAIL PROTECTED]
>  
> 
> *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service  . 
> 
>  
> 
> ___

Re: [flexcoders] Re: dates, AS, and Java

2005-11-04 Thread Douglas Knudsen
holy obviousness batman!  That was it!  Can I blame Eclipse?  I mashed
organise imports or wahtever its called and it chose java.sql.Date
instead.  I completely missed it.

/me crawls back into the corner, head hung low.

DK

On 11/3/05, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:
> Sorry if asking the obvious - are you using java.util.Date or java.sql.Date?
>
> - Original Message -
> From: "Dave Wolf" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, November 03, 2005 6:00 PM
> Subject: [flexcoders] Re: dates, AS, and Java
>
>
> > That sounds like a bug in the serializers to me.  Its getting
> > marshalled as a string.
> >
> > Now in a WebService you should use a Calendar rather then a Date.
> > Have you tried that to see if it works better?  It definately works
> > with a WebService.
> >
> > 
> >
> > --
> > Dave Wolf
> > Cynergy Systems, Inc.
> > Macromedia Flex Alliance Partner
> > http://www.cynergysystems.com
> >
> > Email:  [EMAIL PROTECTED]
> > Office: 866-CYNERGY x85
> >
> > --- In flexcoders@yahoogroups.com, Douglas Knudsen
> > <[EMAIL PROTECTED]> wrote:
> >>
> >> ok, say I have a Java VO called FooVO and a AS VO called FooVO.  Both
> >> have a property called myDate of Date datatype.  The Java version has
> >> a getter and setter for it.  I have the AS Vo registered to map to the
> >> Java one.  It seems the Java setter can't set the date from the value
> >> in the AS VO.
> >>
> >> Could not set object Sat Nov 05 16:56:02 EST 2005 on class
> >> com.joe.world.FooVO's method setWeekEndDate
> >>
> >> Do I Date datatypes map across the wire correctly from AS to Java?
> >>
> >> --
> >> Douglas Knudsen
> >> http://www.cubicleman.com
> >> this is my signature, like it?
> >>
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Reuse form for create and update

2005-11-04 Thread Richard Rodseth



Are there any special tips or tricks or sample code for re-using a form
component in a create scenario (perhaps in a modal dialog) and an
update scenario?
In particular, I wondered about omitting the submit/cancel buttons from
the reusable piece vs setting attributes to control whether they are
there or not and what events get fired.

I thought the reusable piece could include the form model (a typed
variable) and methods to populate and de-populate  the controls
and trigger validation, and the container would have the buttons and
invoke these methods and set the model to a new instance or an existing
instance as appropriate.

I suppose by moving the buttons to the container (i.e. outside of the form itself) I may sacrifice some alignment control.

- Richard






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



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



  









[flexcoders] need help from web service in action script 2

2005-11-04 Thread collection711
hi there!

i'm try to write custom a class about make the call web service to
.net webservice server. The class will be in actionscript 2 , i can
not find any document to do that. i found some example code like this:

new mx.servicetags.Service(this._url,
"http://localhost:8500/mmcourses/faad2004/dbs/Bikeparts.cfc?wsdl";, new
mx.services.Log(1, "WebService"), null, this, null, null, null, null,
false);

is any one can show me where i can find document about mx.servicetags
in flex. I also read flex document but i confuse about how to call
constructor like example above what is exactly first parameter about,
i know the second is address of webservice, what's about thrid and so
on parameter about.


thanks.








 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





Re: [flexcoders] Re: dates, AS, and Java

2005-11-04 Thread Anatole Tartakovsky
Sorry if asking the obvious - are you using java.util.Date or java.sql.Date?

- Original Message - 
From: "Dave Wolf" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, November 03, 2005 6:00 PM
Subject: [flexcoders] Re: dates, AS, and Java


> That sounds like a bug in the serializers to me.  Its getting
> marshalled as a string.
>
> Now in a WebService you should use a Calendar rather then a Date.
> Have you tried that to see if it works better?  It definately works
> with a WebService.
>
> 
>
> -- 
> Dave Wolf
> Cynergy Systems, Inc.
> Macromedia Flex Alliance Partner
> http://www.cynergysystems.com
>
> Email:  [EMAIL PROTECTED]
> Office: 866-CYNERGY x85
>
> --- In flexcoders@yahoogroups.com, Douglas Knudsen
> <[EMAIL PROTECTED]> wrote:
>>
>> ok, say I have a Java VO called FooVO and a AS VO called FooVO.  Both
>> have a property called myDate of Date datatype.  The Java version has
>> a getter and setter for it.  I have the AS Vo registered to map to the
>> Java one.  It seems the Java setter can't set the date from the value
>> in the AS VO.
>>
>> Could not set object Sat Nov 05 16:56:02 EST 2005 on class
>> com.joe.world.FooVO's method setWeekEndDate
>>
>> Do I Date datatypes map across the wire correctly from AS to Java?
>>
>> --
>> Douglas Knudsen
>> http://www.cubicleman.com
>> this is my signature, like it?
>>
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> 





 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





Re: [flexcoders] Seeing double in DataGrid

2005-11-04 Thread P Trisnadi


Here is a simple app I did:

--





        

    

    

    

   


   


           
        

    

    

    





Here is the imageCellRenderer1 (imageCellRenderer2 is identical, except for the image pulled)

--





    

    var obj1:Object;

    function setValue(str:String,item:Object) {

    if (item.working=="0") {

    obj1=item;

    obj1.icon="contentA0.jpg";

    visible=true

    } else {

    obj1=item;

    obj1.icon="contentA1.jpg";

    visible=true

    }

    }

    

    



--



When ran, DataGrid "allComp" displays 3 columns. The second and third
column look right. However the first column always displays what's in
the second column. I swapped the cellRenderer code, and first column
NEVER displays its content properly...



Any idea??? :|



TIA!

- ptrisnadi

- Original Message From: Matt Chotin <[EMAIL PROTECTED]>To: flexcoders@yahoogroups.comSent: Wed Nov  2 20:54:18 2005Subject: RE: [flexcoders] Seeing double in DataGrid   I guess we’ll need the full example, I don’t see anything jumping out at me.     From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of P Trisnadi Sent: Wednesday, November 02, 2005 9:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Seeing double in DataGrid I
have a couple of columns in a DataGrid that are populated by using 2
different ImageCellRenderers. ImageCellRenderer1 displays either image
A or B, and ImageCellRenderer2 displays either image C or D. However,
when ran the first column always displays what is displayed in the
second column. I tried switching the 2 columns, so that the latter
column appears first, but the left column always adopt whatever is
displayed in the right column.  Any idea what causes this?  The code for ImageCellRenderer is pretty straight forward:             var obj1:Object;         function setValue(str:String,item:Object) {             if (item.prm1=="0") {                 obj1=item;                 obj1.icon="obj1.jpg";                 visible=true             } else {                 obj1=item;                 obj1.icon="obj2.jpg";                 visible=true             }         }         TIA, - ptrisnadi   





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



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



  








Re: [flexcoders] Re: Code-only Flex apps

2005-11-04 Thread Daniel Cascais
OK, so the unanimous response is: Use MXML!

Got some good points from you guys, thanks. I'll probably be around
more often from now on, now that I'm getting acquainted with Flex and
its Framework.

Just to make things clear (Dave): As you can see from my posts, I am
not preaching… Only making sure I'm not missing anything important
before I start messing with Flex for real. I've been developing with
Java and AS for quite some time now, and couldn't agree more that the
simpler/quicker option is always better, unless you are loosing out on
control (V2 Flash Components), which isn't the case with the Flex
Framework (and mxml).

Now off to get used to a new development paradigm.

--
Daniel Cascais


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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


[flexcoders] Job Opening with Yahoo! Maps

2005-11-04 Thread Aaron King










Hi again,

 

I forgot to mention in my previous email about the Yahoo!
Maps Beta release that we’re hiring a Senior Flex Engineer/Architect. 
If anyone is interested, please send me your resume.

 

Aaron King

(408)
349-2506

[EMAIL PROTECTED]

 









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



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



  











RE: [flexcoders] Re: Forcing Recompile in production mode

2005-11-04 Thread Andrew Kinloch










There is a way,
it seems somewhat backwards and im sure there a re better methods but this is
what I did.

 

1. Change the
servers flex config file and set production mode to false.

 

2. Restart flex

 

3. Browse to
the .mxml file and it will recompile it

 

4. Once you are
happy that it has implemented these changes and no further changes are required
alter the flex config file and set production mode to true and restart again.

 



Andrew Kinloch | Internet
Services Administrator | Southland District Council
Phone - 64 3
2187259 | Fax - 64 3 2189460 | E-Mail - [EMAIL PROTECTED]











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of David Harris
Sent: Friday, 4 November 2005 9:26
a.m.
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
Forcing Recompile in production mode



 

Thanks for the answer Dave.

I guess the next question is,
Do the changes show up after a time period?
If so, how do I find out what the time is.

Cheers,

David

On 11/4/05, Dave Wolf <[EMAIL PROTECTED]>
wrote:
>  We never found one.  The SWF's are
cached by the Filter in memory.
>
>  In theory a "hotswap reload"
of the web app should do it, but would
>  then cause a pretty hefty leak, since
thats how most containers do
>  hotswapping, is they leak that
ClassLoader.
>
>  --
>  Dave Wolf
>  Cynergy Systems, Inc.
>  Macromedia Flex Alliance Partner
>  http://www.cynergysystems.com
>
>  Email: 
[EMAIL PROTECTED]
>  Office: 866-CYNERGY
>
>
>  --- In flexcoders@yahoogroups.com,
David Harris <[EMAIL PROTECTED]> wrote:
>  >
>  > Hi,
>  >
>  > I have seached docs, but havn't
turn up an answer yet,
>  > so thought I'ld ask you guys...
>  >
>  > We have a Developement Flex, and a
Live Flex server.
>  >
>  > The live server is in production
mode.
>  >
>  > We have done some fixes of our
app, and moved them on to the live
>  server.
>  >
>  > Is there anyway to force a
re-compile of a Flex App on a server in
>  > production mode with out
restarting the Application Server?
>  >
>  > Cheers,
>  >
>  > David
>  >
>
>
>
>
>
>
>
>  --
>  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
>
>
>  Visit your group "flexcoders"
on the web.
>
>  To unsubscribe from this group, send an
email to:
>  [EMAIL PROTECTED]
>
>  Your use of Yahoo! Groups is subject to
the Yahoo! Terms of Service.
>
>  
>






This Message has been successfully scanned by 
Symantec Mail Security at the Southland District 
Council Please forward your enquiries to 
[EMAIL PROTECTED]


Attention:The 
information contained in this message and or attachments is intended only for 
the person or entity to which it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of, or taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
in error, please contact the Southland District Council and delete the 
material from any system and destroy any copies.
 
Ph - 64 3 2187259
Fax - 64 3 2189460 
Email - [EMAIL PROTECTED]


 
 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: helper object? what's that? (was Re: [flexcoders] To code-behind or not to code-behind?)

2005-11-04 Thread Mink, Joseph





Dear to the heart, indeed!  A recent lane-split passed 
5 cars recently on I66 has me revisiting the pattern in this 
lane-splitting-illegal state of VA.  Luckily the whole experience was one 
of braking, because I'd have only had ~30hp to put to the road if acceleration 
was involved : )
 
"So of course, I wanted something equipped to drive across 
arctic tundra.  It just makes me feel better."
 
Good times, good times!
 



From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Roger GonzalezSent: Thursday, November 03, 2005 1:20 
PMTo: flexcoders@yahoogroups.comSubject: RE: helper 
object? what's that? (was Re: [flexcoders] To code-behind or not to 
code-behind?)
> OK, we're analysing this to a level it was never meant to be 
> analysed at.> This often seems to happen, though.  
I find design patterns to beincredibly useful for attaching names to common 
code constructs (bothfor describing how something was implemented or how it 
could/should beimplemented) but I find them unhelpful whenever they're 
wedged into acontext where the potential user of the pattern hasn't 
previously workedon the problem and personally experienced the pain of 
coding themselvesinto a corner.  They get locked up in a terror that 
they aren'tfollowing the pattern to the letter, and freak out when the 
patternisn't a 100% match for what they're trying to do.  I once saw 
some codethat had a class factory that produced class factories, for no 
reasonother than they didn't dare put two factory methods on the same 
object,because the pattern didn't say that was ok.To bring it back 
to an area near and dear to my heart, its likeexplaining lanesplitting 
techniques to a motorcyclist who lives in arural area with no traffic.  
Sure, there are lots of best practices andpotential gotchas and 
what-to-do-when, but they're only interesting froma theoretical perspective 
if you're never in that situation.  However,they'll make a lot more 
sense -after- a cell-phone-babbling soccer momin a Maibatsu Monstrosity 
suddenly realizes she needs to exit soon andcuts you off, forcing you to 
threshold brake, release, swerve a fulllanes-width in front of a bus to the 
next gap between lanes, and thenaccelerate so hard you pull a small wheelie 
off a rain-slicked Bott'sDot while still leaned over, three cylinders of 
bottled impatiencehowling as you feed 120hp to the ground via a sticky 
rubber contactpatch the size of a deck of cards[1]  (Ah, Lanesplitting 
Pattern #4, on-and off-ramps are like tributaries in the traffic stream, 
they causeturbulence...)-rg[1] Part of my employment 
agreement is that I must checkpoint my codeinto source control a bit more 
frequently than my sane coworkers.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] FLEX Partnership Opportunity

2005-11-04 Thread Alex & Alex
Hello developers,

I own a 4 cpu Flex license which apparently cannot be sold and I am 
entitled to free upgrade to FLEX 2.0 Enterprise etc...

I am looking for serious Flex developers who have a project in mind or 
on the way or even ready to partner with or arrange some kind of deal.

I will provide the hardware as well.

Please contact me if you have anything in mind, even if its not in the 
above premises. EMAIL: atsoukias @ gmail.com

Thanks,
Alexander Tsoukias







 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] custom components and custom data provider - howto?

2005-11-04 Thread negttid
Hi there,

I am looking at Flex (1.5) for my diploma thesis, which is about RIAs.
I want to build a sample application using different approaches:
html/js, openlaszlo, flex, etc.

I have already started. html/js was usual, openLaszlo was easy, too.
But with Flex I have several problems to get into. ;-)

So perhaps I can discuss my problem on the following example code:



http://www.macromedia.com/2003/mxml"; xmlns:local="*"
width="800" height="800" styleName="plain" usePreloader="false"
backgroundColor="#ff">





















http://www.macromedia.com/2003/mxml";>













In this example I transmit data by a class member variable (of the
custom component mxml "class"). What I really want to do is, to have a
custom dataprovider (xml) to load in the application. the application
then should be able to load the number of the custom component, that
is specified in the xml and to put the right labels into each of them. 

I have problems to use documentation of macromedia for dataprovider,
because the examples are all for their out-of-the-box components, just
like DataGrid.

Can anyone please help?

Regards,
Matthew










 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





RE: [flexcoders] Dual core license policy

2005-11-04 Thread João Fernandes





I must be 
missunderstanding it but the Licensing paragraph says and I quote:
 
" 
However, the trend seems to be counting dual-core chips as a single processor as 
Microsoft, IBM, Intel, and AMD support this view. Oracle was counting each core 
as a processor but came up with a formula that is a compromise. IBM and 
Microsoft count a multi-chip-module as multiple processors. If 
multi-chip-modules counted as one processor then CPU makers would have an 
incentive to make large expensive multi-chip-modules so their customers saved on 
software licensing. So it seems like the industry is heading towards counting 
each die as a processor, no matter how many cores each die has ..."
 
What I can understand from this paragraph is 
that companies are targeting the number of dies and not the n of cores inside 
them.
 

João Fernandes
Secção de 
Desenvolvimento
Departamento de 
Informática
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: quinta-feira, 3 de Novembro de 2005 16:25To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Dual core license 
policy

I disagree... for all interpretations of the definition at 
wikipedia it results in the same conclusion...  a dual-core cpu is 2 
cpu's/processors.  That's the point.  A mobo with one dual core 
processor uses almost the same power as a mobo with 2 separate processors.  
All they managed to do was squeeze 2 cpu's on one die. 
 
It's 2 cpu's. 
On 11/3/05, João 
Fernandes <[EMAIL PROTECTED]> 
wrote: 

  Clint,
   
  http://en.wikipedia.org/wiki/Dual_core  
   
  Its seems 
  that it depends on the point of view. What are we counting? the chip? or 
  independent cores inside a chip? It seems that many are counting the chip 
  himself no matter how many individual cores they have. It's up to Macromedia 
  what's their point of view. 
   
   
  
  João 
  Fernandes
  Secção de 
  Desenvolvimento
  Departamento de Informática
   
  
  
  From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] On Behalf Of Clint 
  ModienSent: quinta-feira, 3 de Novembro de 2005 15:47To: 
  flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] Dual core license policy 
  
  Actually Dave dual-core *is* 2 
  physical processors. As opposed to Intel's Hyper Threading 
  which is two "virutal" processors.  So if what you read 
  is true... then Macromedia would consider dual core as 2 processors. 
  On 11/3/05, Dave 
  Carabetta <[EMAIL PROTECTED] > 
  wrote: 
  On 
11/3/05, Mika Kiljunen < 
[EMAIL PROTECTED]> wrote: > What is the Macromedia's 
license policy on dual core processors? Is a single dual core processor 
calculated as 1, 1.5 or 2 processors ?>> I couldn't find this 
info anywhere, but I think it would be nice to know J >I 
can't remember where I read it, but I know for sure thatMacromedia's 
current policy is to use the number of *physical*processors in the 
server as the number. So a dual core would just beone processor. 
Regards,Dave. Yahoo! Groups 
Sponsor ~-->Get Bzzzy! (real tools to help you 
find a job). Welcome to the Sweet Life.http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM~->--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links <*> To visit your group on the web, go 
to:   http://groups.yahoo.com/group/flexcoders/<*> 
To unsubscribe from this group, send an email to:    [EMAIL PROTECTED]<*> 
Your use of Yahoo! Groups is subject to:   http://docs.yahoo.com/info/terms/ 
  --Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  
  
  YAHOO! GROUPS LINKS 
  
 Visit your group "flexcoders" on the web.  
 To unsubscribe from this group, send an email 
to:  
[EMAIL PROTECTED]  
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
  
  
  





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



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



  









[flexcoders] Flex prototype - production approach

2005-11-04 Thread superabe superabe



Just curious about what folks here on the list think / have experienced about the prototype based approach to RIA developemnt with Flex.
 
Am evaluting a potential project that needs to be prototyped first and eventually built using Flex, and trying to decide what to use for prototyping and how much of the prototype can be re-used in the final app.

 
The two options I see, are :
 
A. do a quick prototype in Flex or Flash for the purposes of feature gathering / usbility. The start the production app from scratch in Flex.
 
B. Do a more planned out / better architected prototype in Flex , that can be re-used substantially towards the production app.
 
Am interested to know what pros' and cons people have faced with both approaches.
TIA
 
- superabe
 
 
 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Nested Repeaters ...( was Force binding for Arrays)

2005-11-04 Thread superabe superabe



Yup Excellent guess :-)
I am facing some perf. issue and am trying to identify / rule out potential bottlenecks.
 
The array reset method, is being used to reset the entire application so a delay is acceptable there.
However, right now my biggest hit is in a component that (being created dynamically) uses 4 nested repeaters, to display a non-uniform grid.
Am considering re-writing it using Actionscript and maybe replace some of the layout containers like HBox and Vboxes with a Canvas where possible.
 
Do you have any other general rules / approaches to consider while refactoring a bunch of nested repeaters ?
 
- superabe  
On 11/3/05, Matt Chotin <[EMAIL PROTECTED]> wrote:


It's not the end of the world in Flex 1.5, it will not be a good idea in Flex 2 (but we provide new interfaces to make it even easier).  It also depends what the binding destination is doing with the array.  If it's a DataGrid there's a lot more invalidating and redrawing that happens if you re-assign the whole array vs. just notifying it that one item changed.  Repeater is even worse.  Something that is just holding a reference, less of a big deal.  My guess is that you are binding to something that does react to the array and therefore there is a performance impact in redrawing all the time.

 
Matt
 




From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of superabe superabeSent: Thursday, November 03, 2005 5:28 PMTo: 
flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] Force binding for Arrays


 

ok...I do need to reset the array at times, and also to change an item in the index.

Is there any perf hit by reassiging the variable to itself ?

 

- superabe 

On 11/3/05, JesterXL <
[EMAIL PROTECTED]> wrote: 

You don't need to do that; Array's in Flex already have the DataProvider API (in 1.5), and thus generate events.

So, if you are changing an index, ensure you do:

 

my_array.addItem(someItem)

 

Instead of:

 

my_array.push(someItem)

 

If you do the addItem, it'll trigger the event, and update whatever controls is bound to the array.  Only reset the array entirely if the whole array changes.


  

- Original Message - 

From:
 superabe superabe 

To: 
flexcoders@yahoogroups.com 

Sent: Thursday, November 03, 2005 11:11 AM


Subject: [flexcoders] Force binding for Arrays


 

I realize that we can force binding for Arrays to occur, when modifying one of their indexes by doing something like

 

Model.myList = Model.myList

 

Is there any performance reasons or other reasons why this would be a bad idea to use?

 

TIA

- superabe

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

SPONSORED LINKS
 





Web site design development 


Computer software development 


Software design and development 



Macromedia flex 

 

 
 



YAHOO! GROUPS LINKS
 
 

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



--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 


YAHOO! GROUPS LINKS 

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











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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