Re: [flexcoders] Re: Adobe has open-sourced the Text Layout Framework (TLF)

2009-07-21 Thread Jeremy Lu
I didn't see that either, but since it's brought up, is there any plan to
have table implemented in TLF any time soon ? I thought there's a
ready-made solution in buzzword, probably the team consider sharing it ?

(and yes, I totally understand TLF != HTML, so it's a bit over to ask for
this feature but it's really a nice-to-have...)



On Wed, Jul 22, 2009 at 1:46 AM, Gordon Smith gosm...@adobe.com wrote:



  I searched the businesswire article for the word table and didn't find
 it. Where do you see this?



 Gordon Smith

 Adobe Flex SDK Team



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Dennis van Nooij
 *Sent:* Tuesday, July 21, 2009 5:07 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Re: Adobe has open-sourced the Text Layout
 Framework (TLF)





 that's great. The first article states that tables are also supported, but
 if I remember correct that used to be reserved for a later version?

 thanks,
 Dennis

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Gordon
 Smith gosm...@... wrote:
 
 
 http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20090720006233newsLang=en
 
  http://opensource.adobe.com/wiki/display/tlf/Text+Layout+Framework
 
  Gordon Smith
  Adobe Flex SDK Team
 



 



[flexcoders] Changing text size in mx:HTML (webkit) ? #air

2009-02-23 Thread Jeremy Lu
Had been looking for ways to make text bigger or smaller in mx:HTML control,
something equivalent in fireworks and safari by simply pressing cmd -/+
keys, but somehow there's no native API to call in the AIR's html control,
am I missing something here ?


Re: [flexcoders] Re: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread Jeremy Lu




Mozilla will use this engine by adding browser-DOM classes 
such as Window, Document, Form, Anchor, etc., which are the domain objects 
that a browser manipulates,in the same way that Flash uses this engine by 
addingclasses for its domain objects such as Sprites.Once this is 
done, webapp developers will be able to use AS3/ES4 as a fast, type-checked, 
object-oriented _javascript_ if they want to.Gordon, Could you please elaborate on the last line marked in red ? What do you mean by saying using AS3 as a fast _javascript_ means ? an alternative to _javascript_ ? 
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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Re: Flex 2 limitations vs. raw Flash 8 Prof?

2006-10-05 Thread Jeremy Lu



Don't forget Flash 9 is in not so far the future, you got the preview version to play with now, and the final might come up early next year, by then, all the code you wrote in AS3 will worth the effort, no more flash-flex communication problem, no more timeline problem.
On 10/6/06, Kirk Marple [EMAIL PROTECTED] wrote:







hi Greg,

i really appreciate this detailed reply - this is a huge 
help to my decision-making process.

historically, we've done ASP.NET/C# work, with some Flash 
MX development (Flash control in HTML). i recently hired 
a new user experience guy who is very strong in Flash dev, but doesn't yet have 
experience in Flex or AS3.

we've been discussing the pros/cons of Flex/Flash, and 
that's where the original question to the list originated.

we're on a short timeline, but we have a high bar to meet 
in terms of functionality and look/feel.

i totally get the benefits of Flex as a quicker way to get 
the shell of the application built, but i'm concerned about that last 10% where 
we'll visually differentiate ourselves from every other Flex app 
outthere.

visually, we're in the ballpark of Vongo (
www.vongo.com)or JumpCut(www.jumpcut.com) video and media management 
applications. search/browse interface, thumbnails, in-place video 
previews, etc., but we're looking to raise the bar in terms of cinematic 
animations - smoothly animated filmstrips, drag/drop of thumbnails into the 
filmstrip, video clip editing. our back-end is .NET web services 
that expose a REST interface.

i'm OK running on the bleeding-edge a bit with AS3, since 
we can still target Flash 9 player now. we're at the start of a new 
product suite, so moving forward i wouldn't want to be stuck with legacy 
limitations of AS2. i'd rather eat that risk at the start of the 
product cycle.

it sounds like, if we use AS3 for scripted animations, we 
can integrate that cleanly with the Flex 2/AS3 application 
shell.

myself and my UE guy areplanning to be at MAX this 
month - so i think that'll be a great way to get face time with Macromedia folks 
and dive deeper into these questions.

thanks,
Kirk


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of greg hSent: 
Thursday, October 05, 2006 10:42 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Flex 2 
limitations vs. raw Flash 8 Prof?


Kirk,I am going to reply in this one email to your two 
earlier posts.You started off your first post with 
we're looking to 
move our ASP.NET based application 
suite to Flash. So I assume that your team has no deep competency 
with either Flex or Flash. Is this correct? For developing RIAs, I 
suggest you make Flex 2 your default choice with a side investigation of how to use Flash 9 (or for now Flash 8 Pro with the 
Flash 
Pro 9 ActionScript 3.0 Preview).There are a number of points of comparison between Flex 
and Flash. When developing RIAs one that is very relevant is the choice 
between using the prebuilt component framework in Flex 2 vs building your own 
components in Flash 8 or 9.Also, the whole development process is very 
different. Will you be having your ASP.NET developers cross training? If so Flex 2 likely 
will prove to be more familiar and easier for them to come up to speed on 
quickly. Flash authoring, on the other hand, uses paradigms that likely 
are unfamiliar to more traditional developers such as is taught in university 
computer science programs. For a quick sense of how Flash development may 
look to traditional coders, in this following 
article see the section under the heading: We Call This 'The Timeline.' 
No, Wait, Come Back!www.adobe.com/devnet/flex/articles/flash_perspective.html
Regarding video-heavy applications I see 
no inherent advantage of Flash over Flex (or vice versa).One potential 
disadvantage of Flex 2 is that it is ActionScript 3 only. But this is only 
a disadvantage if you have existing Flash ActionScript 2 components, because as 
Robert hinted in his post at run time AS3 and AS2 components are limited in 
their ability to talk to each other. Aside from that, however, the 
advantages of AS3 over AS2 are enormous.Regarding the specific issue you 
stated that we couldn't mix Flex running AS3 with scripted movies with AS2, 
that is only partly true. As of Flash Player 9 (FP9), 
there are two Actionscript Virtual Machines (AVM). AS3 pcode runs in FP9's new AVM2, and the 
pcode from AS2 and earlier run in AVM1. At runtime, code can be running in 
both AVM1 and AVM2 at the same time, but they can not pass values directly 
between the AVMs. Though they can pass values through external APIs (in 
his post Robert mentioned localconnection). So, though you CAN 
mix Flex running AS3 with scripted movies with AS2, there 
are limitations. Thus this is one case where shops with legacy AVM1 code may have an incentive to convert 
their legacy code to AS3. For a great walkthrough of what is new with FP9, 
AS3 and the AVM2 check out this presentation by Gary 

Re: [flexcoders] How can I keep one component in front of all other components?

2006-09-10 Thread Jeremy Lu



PopUpManager create pop-ups via SystemManager, which had a children list, and all DisplayObjectContainer( like SystemManager) has a setChildIndex() method to let you swap each child's depth, that's where you can start to implement.
On 9/11/06, hastyarkxu [EMAIL PROTECTED] wrote:
Hi,I want to keep one component always in front. It looks like the 'taskbar' in windows. no matter how many windows you opened, task bar isalways on top of all the windows.I want to keep it in front even the other components are poped up by
the popup manager.What should I do then? (I think the z-order is useless because othercomponent is created by popup manager..)regards,Ark--
Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Event Proxy

2006-08-28 Thread Jeremy Lu



Why proxy ? events from inside item renderes will eventually bubble up to the containing base component.Or am I mis-understanding you here ? On 8/29/06, 
Fernando Flórez [EMAIL PROTECTED] wrote:













  



Hello again,

What i'm thinking would be cool to code (i'm thinking out loud, maybe
someone has a solution for this already) is an event proxy that will
proxy all event dispatches from an itemRenderer to the base component.

What do you guys think about this?

Thanks,
Fernando

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: Collection View changes order on update

2006-08-27 Thread Jeremy Lu
This hit me before, end up I'm re-sorting the collection everytime it changed.
(using the sorting function of collection)


On 8/28/06, ssundke [EMAIL PROTECTED] wrote:






 Hey, does any one have any idea on this?

  


--
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 identifying which Event to listen for

2006-08-23 Thread Jeremy Lu



When selection changes, you can access current selected child via ViewStack.selectedChild, which points to the currently selected child container, you can then trigger a method inside the child to re-grab the data. see if this works for you :-)
On 8/24/06, Mike Anderson [EMAIL PROTECTED] wrote:













  



Hello All,

I have a ViewStack Container, with many Children within.

Each child has it's own unique set of data-driven controls, and each
time the user goes back to a specific Child, I need to Requery the
database, so that I get the freshest data each time.  The easiest way to
do this, is listen for the Event for when a Child gets toggled.

I tried activate but this event kicks off only the FIRST time a
Container gets shown.  I need this even to kick off each and every time,
the ViewStack's Children get toggled.

Could any of you point out which event I need to trigger, in order to
for this to happen?

Thanks in advance,

Mike

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Issue with dates from Flex to MySQL

2006-08-20 Thread Jeremy Lu




Have you checked the default time zone setting in the database ?


On 8/21/06, gotgoose09 [EMAIL PROTECTED] wrote:













  



In my MySQL table, I have a field that is typed as a Date.  In my web
app I send a date from flex to a CFC which populates the Date field.

On my local machine I have MySQL 5 with ColdFusion 7.02.

On my host's server there is MySQL 4 with ColdFusion 7.00.

When I send a date to my MySQL 5, the date is stored as it should be. 
When I send a date to MySQL 4, the date is stored a day behind, so I
have to add 1 to the day before sending it to my CFC.

Anyone have experience with the differences between MySQL 4 and 5?


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] ASDoc is now available for download

2006-08-15 Thread Jeremy Lu





Great, thanks for the info, having a release out there is much better
than having nothing out there, I'm already very grateful for it, just
made my day :-)


On 8/16/06, Brian Deitte [EMAIL PROTECTED] wrote:













  



Hi Tom,

I wasn't very happy releasing the code this way either.  Releasing code
for only two OSs causes my Java side to twitch.  But there's some
reasons behind this, and I'll try to explain what I can.

ASDoc has a long history in at Macromedia/Adobe, as you probably know
from the number of times we've released API documentation.  I'm the
lastest person to pick up it's helm, but there's a long line of people
who put a lot more effort than I did into it.  We had a joke for awhile
that anybody working on the compiler team was required to work on ASDoc
at least once.  All these changes were made over time not for external
consumption but for our internal needs.  At some point, we got some
executable code mixed in there.  I can't really share the specifics of
this... but let me say it's a big chunk of code that isn't easily
switched to Linux.  And there's a lot of it.  And it contains code that
from other products, where we can't quickly make the decision to release
this in the open.  So now we're stuck in the current situation.  Again,
as this was always thought to be for internal use, and since ASDoc
usually only runs on a Windows build machine, we only ran into this
problem when I started to put together things for an external release.

So what's being done about this?  As a long term plan, we're hoping (and
starting to plan) to move the executable code over to Java.  As a short
term plan, we want to get this working on Linux for the next full
release.

-Brian

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Chiverton
 Sent: Tuesday, August 15, 2006 4:39 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] ASDoc is now available for download
 
 On Tuesday 15 August 2006 09:16, Tom Chiverton wrote:
  Rar !
 
 Boo.
 
 You *knew* what would happen if you released a tool that only 
 ran on Windows 
 and OSX didn't you, without the source so the community can 
 fix whatever you 
 know is wrong with it ?
 
 -- 
 Tom Chiverton, http://www.rachaelandtom.info/node/1359
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered 
 in England and Wales under registered number OC307980 whose 
 registered office address is at St James's Court Brown Street 
 Manchester M2 2JF.  A list of members is available for 
 inspection at the registered office. Any reference to a 
 partner in relation to Halliwells LLP means a member of 
 Halliwells LLP. Regulated by the Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee 
 named above and may be confidential or legally privileged.  
 If you are not the addressee you must not read it and must 
 not use any information contained in nor copy it nor inform 
 any person other than Halliwells LLP or the addressee of its 
 existence or contents.  If you have received this email in 
 error please delete it and notify Halliwells LLP IT 
 Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

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

  















__._,_.___





--
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] Determine if a Class implements an Interface

2006-08-15 Thread Jeremy Lu





if( describeType(MyClass).implementsInterface.(@type) == interfaceName).length() ){
 //do something;
}

but it's a bit expensive to iterate over the tags everytime you want to check.


On 8/16/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote:













  




Hi all,

I often use 

if (obj is MyClassOrInterface) 
{
//  do whatever
}

but it appears that only works with Instances not Classes. With just a
Class, how can I tell if that class implements a particular interface
or is of a particular base type?  Do I have to create an instance of
it and check the instance? I'm sure there must be another way...

thanks in advance,
Thunder
__

var currentDomain:ApplicationDomain = ApplicationDomain.currentDomain;
var psClass:Class = null;
if (currentDomain.hasDefinition(sPropClass))
{
	psClass = Class(currentDomain.getDefinition(sPropClass));
}

// below statement doesn't work!
if ( (psClass != null)  (psClass is IPropertySheet) )
{
	// make a new one of these classes.
}


  















__._,_.___





--
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] unable to get a camera by passing the name from the names list

2006-08-14 Thread Jeremy Lu



This had been discussed last week, Andrew provided a solution, try this:
_camera = Camera.getCamera( 1 );Note it's a 1 (string) in the function. Jeremy.On 8/14/06, Dan Rossi
 [EMAIL PROTECTED] wrote:













  







Hi, i think ive discovered a bug with the flash 9
player. Im unable to collect the camera from the names list like so

_camera = Camera.getCamera(Camera.names[1]);

if keeps returning null, even though when tracing Camera.names[1], its returning the name 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] itemRenderer question, scoping?

2006-08-12 Thread Jeremy Lu




you need to declare the namespace in the application tag for your components, add this to the tag:

xmlns:mycomp=myComponents.*

then in your main application, use this:

mycomp:artart /
mycomp:Colornail /


hth, 
Jeremy.
On 8/12/06, Leo Wieland [EMAIL PROTECTED] wrote:













  











Scoping problem?



In my project directory (mainApp) I made a subdirectory
myComponents (mainApp/myComponents)

In this subdir I put my mxml component artart.mxml

In artart.mxml I create a TileList with a itemRenderer
as follow:



mx:TileList
x=36 y=20 width=160 height=280
id=tlstColors
dataProvider={mx.core.Application.application.dataColors}

 itemRenderer=Colornail
borderStyle=none allowMultipleSelection=true columnWidth=35
rowHeight=60

 
selectedIndex=0/



the Colornail component (Colornail.mxml) is a
component based on VBox.:



?xml
version=1.0 encoding=utf-8?

mx:VBox
xmlns:mx=http://www.adobe.com/2006/mxml width=50
height=60 

horizontalAlign=center 



verticalGap=4
borderStyle=none

mx:Image id=imgColor width=30
height=30 source={data.image} toolTip={data.naam}/

 mx:Label
text={int(data.id_color)} width=30
fontFamily=Verdana fontSize=8/

/mx:VBox



è
When I put Colornail.mxml in subdir myComponents I get a compiler error "1172:Definition Colornail could not be
found"



But if I put Colornail.mxml in the mainApp directory the
compiler can find the component.



I want all my component in the myComponents subdir, can
anybody explain me what I have to do to let the compiler find the component. 



Leo Wieland









  















__._,_.___





--
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] Calendar component

2006-08-11 Thread Jeremy Lu



ah, I'm about to implement one, any spec available ? if they dupe in many ways I would give up mine.On 8/11/06, Matt Chotin 
[EMAIL PROTECTED] wrote:












  













Not Ely's.











From: [EMAIL PROTECTED]
ups.com [mailto:[EMAIL PROTECTED]
ups.com] On Behalf Of Anatole Tartakovsky
Sent: Wednesday, August 09, 2006
1:20 PM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Calendar
component













Matt,





 Is it Ely's one ? - did not see updates in the last
3 weeks - can't wait to see it in action





Thank you,





Anatole

















On 8/8/06, Clint
Tredway [EMAIL PROTECTED]
wrote: 












That would be great! Plus
it will save me time so I dont have to make one myself :)




On 8/7/06, Matt Chotin [EMAIL PROTECTED] 
wrote:




















There might be one that
you'll like in a few weeks, but it isn't ready now.





Matt


















From:
[EMAIL PROTECTED] ups.com
[mailto:
[EMAIL PROTECTED] ups.com] On Behalf Of Clint Tredway








Sent: Monday, August
07, 2006 6:00 AM
To:
[EMAIL PROTECTED] ups.com
Subject:
[flexcoders] Calendar component

















Has anyone built a calendar component (not the date
picker) that looks
like an acutal calendar?

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































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


























  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Calendar component

2006-08-11 Thread Jeremy Lu




Wow, that sounds good, I will wait then, thanks for the update.

Jeremy.On 8/11/06, Steven Webster [EMAIL PROTECTED] wrote:













  






Jeremy,

This work is being done within Adobe Consulting - Alistair 
McLeod has been overseeing the development work with some of the consulting team 
in Europe, and will be blogging and posting to flexcoders about it in the days 
ahead. Alistair is actually on vacation today - I would imagine it'll be 
the middle of next week before he's able to post anything more concrete in terms 
of features, etc.

I know however, that you'll be very pleased with the 
effort, and that this component is going to save people considerable development 
effort to realise Calendar functionality into their own Flex 
RIA.

/teaser

Best,

Steven




  
  

  


  
  

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






  
  
  From: [EMAIL PROTECTED]ups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy 
  LuSent: 11 August 2006 11:31To: 
  [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Calendar 
  component
  
  
  ah, I'm about to implement one, any spec available ? if they dupe in 
  many ways I would give up mine.
  On 8/11/06, Matt 
  Chotin  
  [EMAIL PROTECTED] wrote:
  






Not 
Ely's.





From: 
[EMAIL PROTECTED] ups.com 
[mailto:[EMAIL PROTECTED]
 ups.com] On Behalf Of Anatole 
TartakovskySent: 
Wednesday, August 09, 2006 1:20 PMTo: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Calendar 
component






Matt,

 Is it Ely's one ? - did not see 
updates in the last 3 weeks - can't wait to see it in 
action

Thank 
you,

Anatole





On 8/8/06, Clint 
Tredway [EMAIL PROTECTED] wrote: 






That 
would be great! Plus it will save me time so I dont have to make one myself 
:)

On 8/7/06, Matt 
Chotin [EMAIL PROTECTED]  
wrote:


  
  
  
  
  
  
  There might be 
  one that you'll like in a few weeks, but it isn't ready 
  now.
  
  Matt
  
  
  
  
  
  
  From: 
  [EMAIL PROTECTED] ups.com 
  [mailto: 
  [EMAIL PROTECTED] 
  ups.com] On Behalf Of 
  Clint Tredway 
  
  Sent: Monday, August 07, 2006 6:00 
  AMTo: 
  [EMAIL PROTECTED] 
  ups.comSubject: [flexcoders] Calendar 
  component
  
  
  
  
  
  Has 
  anyone built a calendar component (not the date picker) that lookslike 
  an acutal calendar?-- diabetic? http://www.diabetesforums.comAlbert Einstein - 
  It's not that I'm so smart, it's just that I staywith problems 
  longer.

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




  

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Macintosh hqx

2006-08-11 Thread Jeremy Lu




Second that, nice product and support.

But seems Zinc v2.5 for FP9 is still a bit buggy, almost everything I
tried had some bugs here and there, non critical but slightly annoying.


Jeremy.On 8/12/06, Jason [EMAIL PROTECTED] wrote:













  



http://www.multidmedia.com

Check out Zinc, it should do what you want.  They have been fairly
quick to implement Flash Player 9 support.  I think they are still
having some problems with Macs with Intel chips, but that is due to
problems with the Flash Player for OSX.

I have been using Zinc for serveral years and I am very happy with the
support.  Check out the forums if you have any questions.  Developing
for the Mac is often a pain-in-the-but because of odd file path
issues, but if you don't need to load or save assets to the hard drive
you should be ok.

They have trial versions of all the Zinc and the OSX plugin.

--jason

--- In flexcoders@yahoogroups.com, Martina Smith
[EMAIL PROTECTED] wrote:

 Hi,

   I need to create an hqx(Macintosh Projector) file for the swf
created using flex 2.0.

   I am unable to do it as I can't find any option in flex menu, may
I have your suggestion on this?

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



  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Save Image As... context menu item

2006-08-11 Thread Jeremy Lu




Very interesting idea, could come in handy someday, thanks for sharing this :-)

Jeremy.

On 8/12/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:













  



Sorry, but previous sample was incorrect. Below you could find the correct one:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
	horizontalAlign=center
	verticalAlign=middle
	creationComplete=onCreationComplete()
	
	mx:Script
		![CDATA[

			import mx.controls.Image;
		
			public static const IMAGE_SOURCE : String =
http://static.flickr.com/65/211995400_eb1579ffed.jpg;

			
			[Bindable]
			private var imageContextMenu : ContextMenu;
			
			private function onCreationComplete() : void {
var item : ContextMenuItem = new ContextMenuItem(Save Image As...);
item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,
onSaveAsContextMenuItemSelect);
imageContextMenu = new ContextMenu();
imageContextMenu.customItems.push(item);
			}
			
			private function onSaveAsContextMenuItemSelect(event :
ContextMenuEvent) : void {
var image : Image = Image(event.contextMenuOwner);
var downloadURL : URLRequest = new URLRequest();
downloadURL.url = "">
var fileReference : FileReference = new FileReference();
fileReference.download(downloadURL);
			}
			
		]]
	/mx:Script
	
	mx:Image source={IMAGE_SOURCE} contextMenu={imageContextMenu} /
	
/mx:Application

On 8/11/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:
 Hi All!

 Probably, somebody already implemented this, but still it could be
 interested. I have just created an example of application that
 demonstrates how to implement Save Image As... functionality native
 for browsers but not available in Flash applications usually.

 Sure, it's only to show the concept, so hardcoded. I want to create
 component inherited from mx.controls.Image later. Any ideas and
 suggestions are welcome! :)

 Regards, Sergey.

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Dynamic combobox

2006-08-11 Thread Jeremy Lu




The red line seems very suspecious, I guess this has something to do
with the data structure of the result object, are there many rows
(items) inside the result object ?


Here is my current code.

// INTALIZE FUNCTIONS
 private function initComplete(){
 BranchManager_Display_Branch()
 }

// CALL DISPLAY BRANCH METHOD
 private function BranchManager_Display_Branch(){
 BranchManager.Display_Branch()
 }
// HANDLE DISPLAY BRANCH RESULTS
 private function
BranchManager_Display_Branch_Result(result):void{
 branchDG.dataProvider = result;
 branchID.dataProvider = result.FLD_BRANCH_NAME as
ArrayCollection;
 }
// HANDLE DISPLAY BRANCH FAULT
 private function
BranchManager_Display_Branch_Fault(event:FaultEvent):void{
 Alert.show(Test Error,Program Error)
 }

 

  
  
  
  





  Recent Activity


  93
  
New Members

  








Visit Your Group  
 
SPONSORED LINKS
  


Web site design development

Computer software development

Software design and development

Macromedia flex

Software development best practice
  
  



  
  Search Ads 

Get new customers. 
List your web site 
in Yahoo! Search.  

Y! Toolbar
  
Get it Free!
  easy 1-click access
  to your groups.
  

Yahoo! Groups
  
Start a group
  in 3 easy steps.
  Connect with others.
  
  
  
 
  .
  













__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] request for adobe: stop being so private

2006-08-10 Thread Jeremy Lu




Flex 2 framework is almost a total revamping, few things were shared from v1.5, guess they still need time to sharpen it a bit.

and just like you, for so many times I have to clone the whole class
just to modify some of the variables marked private, and ends up with
lot of dupe stuff inside, that's really a major pain while deveoping
custom components, hopefully this will be solved someday, may be v2.5
dot release ?

Jeremy.

On 8/11/06, Pan Troglodytes [EMAIL PROTECTED] wrote:













  



Isn't
this version 2.0? Or does the component source share almost no
code with 1.x versions of Flex? I would have expected a 1.x
version to be more raw.BTW, I finally gave up on the extension
and just cloned the classes. Unfortunately, now my HDividedBoxExt
doesn't display properly in FB. Even though I just copied/renamed
DividedBox/VDividedBox/HDividedBox and haven't even tried any extension
yet. FB shows the HDividedBoxExt with the children layed out
vertically, instead of horizontally. At runtime, it works
normally. Unfortunately, it descends from Box, which also assumes
this. In the constructor of HDividedBox, it does this:
mx_internal::layoutObject.direction = BoxDirection.HORIZONTALApparently,
FB never calls this. Not sure why it does it with the builtin
HDividedBox. But I've run into this before with my other
components.
So now I get to choose how much I want this feature (a
lot). Enough to deal with it being all screwed up in the design
mode? Not sure.On 8/10/06, 
Michael Schmalle [EMAIL PROTECTED] wrote:




Hey,I totally agree with you. ;-) Most of what
you said I have run into myself. What I have done? I created an
extended framework from the Container and use composition(this is
mainly for major dnd stuff though).

I know that doesn't solve your problem with say the divided box, you just want to extend it.Having
a lot of experience in writting frameworks that deal with the UI, I
would say the problem lies in that this code is still green as spring.
I have to go through about 10 refactors before I have fully abstracted
methods into tangible and reliable protected methods for subclassing.
My post was more in defense of an infant framework that has not had the time to be refactored on a useful level.Talk
and talk, they are listening and private methods should be calculation
and other things that are already finite refactored out of the
protected api. Here again we run into the fact that this framework is
right off the press just translated from as2 and added to.
I have full faith in meeting the engineers that they are all
for creating a subclassable framework that devs can get almost any hook
they need without colliding with the essential insides that make this
thing tick.
Anyway, I am in your shoes, I ran into this with the tab
navigator when doing dnd. I almost rewrote the whole thing and then
looked at it a gain and got a bitmore tricky with the way I create my
classes being composited INTO their algorithm.
Peace, MikeOn 8/10/06, Pan Troglodytes 

[EMAIL PROTECTED] wrote:













  



Michael,I
understand why things are marked as private versus protected.
What I'm suggesting is that enough thought isn't going into it and a
LOT of stuff is being marked as private that shouldn't be. This
is hobbling component extension. I have dealt with a lot of
frameworks and they generally have this problem to an extent. But
I have yet to run into it to an extent I have here.
And yes, I have reported this to Adobe on the bug/suggestion
page. I will continue to do so on a particular case-by-case
basis, but this is a more general problem. The thing that has
pushed me to the edge was trying to subclass to make a divided box that
can have the divider hidden/shown. It wasn't a matter of one
property or function being private. Everything there uses
BoxDivider as the class that actually draws the little divider.
Luckily, the variable dividerClass in DividedBox was one of the few
things marked protected. So you can assign your own class to
it. The problem is that everywhere else, it is assumed to be a
descendent of BoxDivider. Okay, then, just subclass BoxDivider,
right?
Here's what's public: BoxDivider() (constructor) set x (because it was public in the base class UIComponent) set y (ditto) styleChanged (ditto)Here's what's protected: updateDisplayList()
That's it. Everything else is private. Things like vars
for what state the divider is in and functions like the
mouseOverHandler. I can't even make the mouseover behavior
different if I want. And, unfortunately, it registers these
private handlers in the constructor. I can't unregister them
because I can't pass in the private method name to
removeEventListener. And if I don't call super(), I don't get
UIComponent's constructor.
Divided box is ALMOST as bad. Luckily, they did make dividerClass protected or I'd be starting from scratch.This
is why I post instead of once again saying make this variable
protected, make that variable 

Re: [flexcoders] Camera.get([index]); useing mutiple cameras

2006-08-08 Thread Jeremy Lu




to 
willburforce:

I ran into this problem several days ago, trying something like this 

var arr:Array = Camerag.names;
Camera.getCamera( arr[1] ); 

note it's getCamera() not get().

as the menu says, the sigature of the Camera.getCamera() is 

public static function getCamera( name:String =null ):Camera

but it failed me everytime when I try to assign a camera name to the method (I have four webcams attached to the box)

Interestingly, the manual seems to suggest not passing any name to the
method, instead, let user choose which camera to use via setting panel
(which is not an option in the current video conference project).

to Andrew:

In your example, you were using getCamera() with no parameter passed
in, could you please confirm if you can assign different names to it ?
thanks.


Jeremy.

On 8/8/06, Andrew Trice [EMAIL PROTECTED] wrote:













  













I am assuming that localVideo and
localVideo2 are instantiations of the Video class. Instead of using
attachVideo, try using:



localVideo.attachCamera(localCamera1);

localVideo2.attachCamera(localCamera2);



You shouldn't need the play()
function. Here is an example using the camera on my blog (only uses one camera
though):


http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a




Hope that helps.

-Andy





_


Andrew Trice


Cynergy Systems, Inc.

http://www.cynergysystems.com




Blog: 
http://www.cynergysystems.com/blogs/page/andrewtrice

Email: 
[EMAIL PROTECTED]

Office: 866-CYNERGY













From:
[EMAIL PROTECTED]ups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of willburforce82
Sent: Tuesday, August 08, 2006
9:55 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders]
Camera.get([index]); useing mutiple cameras











Hi all, 

i'm new to action script, and working on a project that involves using
multiple cameras in a single .swf i seem to be able to retreve the
Camera.names and Camera.names.length which give me the names and
number of cameras attached to my local computer but i can't seem to
specify which Camera i want when i use Camera.get() to attach the
video to each camera i know i have to use Camera.get(index) but i
don't know what i'm doing wrong.

this.cameranameslength = Camera.names.length;
this.cameraNames.text = Camera.names;

//this retrieves the names and number of cameras 

localCamera1 = Camera.get(index,[0]); 
localCamera2 = Camera.get(index,[1]);
localVideo.attachVideo(localCamera1);
localVideo2.attachVideo(localCamera2);
play()

// i can't specify each camera to a specific video feed.

i'm getting a bit lost now can anyone help.

willburforce










  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Camera.get([index]); useing mutiple cameras

2006-08-08 Thread Jeremy Lu




Btw, I'm using 9.0.16 (both debugging and non-debugging) player.

Same result.

Jeremy.On 8/8/06, Jeremy Lu [EMAIL PROTECTED] wrote:

to 
willburforce:

I ran into this problem several days ago, trying something like this 

var arr:Array = Camerag.names;
Camera.getCamera( arr[1] ); 

note it's getCamera() not get().

as the menu says, the sigature of the Camera.getCamera() is 

public static function getCamera( name:String =null ):Camera

but it failed me everytime when I try to assign a camera name to the method (I have four webcams attached to the box)

Interestingly, the manual seems to suggest not passing any name to the
method, instead, let user choose which camera to use via setting panel
(which is not an option in the current video conference project).

to Andrew:

In your example, you were using getCamera() with no parameter passed
in, could you please confirm if you can assign different names to it ?
thanks.


Jeremy.

On 8/8/06, Andrew Trice [EMAIL PROTECTED]
 wrote:













  













I am assuming that localVideo and
localVideo2 are instantiations of the Video class. Instead of using
attachVideo, try using:



localVideo.attachCamera(localCamera1);

localVideo2.attachCamera(localCamera2);



You shouldn't need the play()
function. Here is an example using the camera on my blog (only uses one camera
though):



http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a




Hope that helps.

-Andy





_



Andrew Trice



Cynergy Systems, Inc.

http://www.cynergysystems.com




Blog: 

http://www.cynergysystems.com/blogs/page/andrewtrice

Email: 

[EMAIL PROTECTED]

Office: 866-CYNERGY













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

flexcoders@yahoogroups.com] On Behalf Of willburforce82
Sent: Tuesday, August 08, 2006
9:55 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders]
Camera.get([index]); useing mutiple cameras











Hi all, 

i'm new to action script, and working on a project that involves using
multiple cameras in a single .swf i seem to be able to retreve the
Camera.names and Camera.names.length which give me the names and
number of cameras attached to my local computer but i can't seem to
specify which Camera i want when i use Camera.get() to attach the
video to each camera i know i have to use Camera.get(index) but i
don't know what i'm doing wrong.

this.cameranameslength = Camera.names.length;
this.cameraNames.text = Camera.names;

//this retrieves the names and number of cameras 

localCamera1 = Camera.get(index,[0]); 
localCamera2 = Camera.get(index,[1]);
localVideo.attachVideo(localCamera1);
localVideo2.attachVideo(localCamera2);
play()

// i can't specify each camera to a specific video feed.

i'm getting a bit lost now can anyone help.

willburforce










  

















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Camera.get([index]); useing mutiple cameras

2006-08-08 Thread Jeremy Lu




Thanks Andrew, this is a pretty cool hack, will try it and see if it works for me too.

Jeremy.On 8/9/06, Andrew Trice [EMAIL PROTECTED] wrote:













  













I only have one camera, so I never tried
it. I've got flash player 9.0.16, but it looks like the error is
still happening (although I found a workaround).



I changed my code to:



var arr: Array =
Camera.names;

trace(arr[0]);

camera =
Camera.getCamera(arr[0]); 

trace(Camera.getCamera(arr[0].toString()));




… and it returned null every time. 



I also started playing with it and did
this…



trace(Camera.getCamera(0));

camera =
Camera.getCamera(0);



…and it gave a valid reference to the
camera. Try using the string representation of the camera index, instead
of the camera name.



Looks like this is still a bug in the
player, but this could be a hack-ish workaround for it.





_


Andrew Trice


Cynergy Systems, Inc.

http://www.cynergysystems.com




Blog: 
http://www.cynergysystems.com/blogs/page/andrewtrice

Email: 
[EMAIL PROTECTED]

Office: 866-CYNERGY













From: [EMAIL PROTECTED]
ups.com
[mailto:flexcoders@yahoogroups.com] On Behalf
Of Jeremy Lu
Sent: Tuesday, August 08, 2006
11:52 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders]
Camera.get([index]); useing mutiple cameras












to willburforce:

I ran into this problem several days ago, trying something like this 

var arr:Array = Camerag.names;
Camera.getCamera( arr[1] ); 

note it's getCamera() not get().

as the menu says, the sigature of the Camera.getCamera() is 

public static function getCamera( name:String =null ):Camera

but it failed me everytime when I try to assign a camera name to the method (I
have four webcams attached to the box)

Interestingly, the manual seems to suggest not passing any name to the method,
instead, let user choose which camera to use via setting panel (which is not an
option in the current video conference project).

to Andrew:

In your example, you were using getCamera() with no parameter
passed in, could you please confirm if you can assign different names to it ?
thanks.


Jeremy.






On 8/8/06, Andrew
Trice [EMAIL PROTECTED]
wrote:














I am assuming that
localVideo and localVideo2 are instantiations of the Video class. Instead
of using attachVideo, try using:





localVideo.attachCamera(localCamera1);


localVideo2.attachCamera(localCamera2);





You shouldn't need the
play() function. Here is an example using the camera on my blog (only
uses one camera though):


http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a







Hope that helps.


-Andy







_


Andrew Trice


Cynergy Systems, Inc.


http://www.cynergysystems.com






Blog: http://www.cynergysystems.com/blogs/page/andrewtrice


Email: [EMAIL PROTECTED]


Office: 866-CYNERGY
















From: [EMAIL PROTECTED]ups.com
 [mailto: flexcoders@
yahoogroups.com] On Behalf Of willburforce82
Sent: Tuesday, August 08, 2006 9:55
AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Camera.get([index]);
useing mutiple cameras

















Hi all, 

i'm new to action script, and working on a project that involves using
multiple cameras in a single .swf i seem to be able to retreve the
Camera.names and Camera.names.length which give me the names and
number of cameras attached to my local computer but i can't seem to
specify which Camera i want when i use Camera.get() to attach the
video to each camera i know i have to use Camera.get(index) but i
don't know what i'm doing wrong.

this.cameranameslength = Camera.names.length;
this.cameraNames.text = Camera.names;

//this retrieves the names and number of cameras 

localCamera1 = Camera.get(index,[0]); 
localCamera2 = Camera.get(index,[1]);
localVideo.attachVideo(localCamera1);
localVideo2.attachVideo(localCamera2);
play()

// i can't specify each camera to a specific video feed.

i'm getting a bit lost now can anyone help.

willburforce


































  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Dump?

2006-08-06 Thread Jeremy Lu




-

import mx.utils.ObjectUtil;

ObjectUtil.toString( loginVO );

-


This makes life a bit easier :-)


Jeremy.
On 8/7/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote:













  






already answered by joost

Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Bjorn 
SchultheissSent: Monday, 7 August 2006 11:38 AMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] 
Dump?



public function dump(obj:*):String
{
 for (var i in obj)
 {
 trace('key: '+i+', value: '+obj[i] 
);
 }
}


Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of 
malik_robinsonSent: Monday, 7 August 2006 10:18 AMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] 
Dump?


Hi,How can I dump the following variable loginVO and see its 
output?public function loginUser() : void{var loginVO : LoginVO 
= new LoginVO();loginVO.username = username.text;loginVO.password = 
password.text;var event : LoginEvent = new LoginEvent( loginVO 
);CairngormEventDispatcher.getInstance().dispatchEvent( event 
);}I would like to dump similar to how you dump the output of a 
variable in ColdFusionThanks,-Malik


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Help with SharedObject please!

2006-08-05 Thread Jeremy Lu




How about just adding a TextArea control to the stage then trace to it ?


On 8/5/06, wayneposner [EMAIL PROTECTED] wrote:













  



If I trace it locally the shared object returns what it's supposed 
to.  I'm still relatively new to flex so pardon my asking, but how 
do you configure flex to trace data from a deployed swf (ie. 
running from a url).  I know if I try to just simply run the debug 
files generated by flex, I get prompted for where the debugger is 
running.  Selecting localhost never seems to work for me as it just 
keeps re-prompting me for the location of the debugger.

Wayne

--- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote:

 Looks like a security problem, can you trace the contents stored 
in the
 sharedobject and see if all data are kept there ?
 
 Jeremy.
 
 On 8/5/06, wayneposner [EMAIL PROTECTED] wrote:
 
Howdy all...
 
  I trying to use a SharedObject to keep user entered search 
strings in
  a drop-down box like the Google IE Toolbar. This works fine when 
I'm
  running the app locally, but as soon as I move it to a server and
  access it via a URL, it stops working.
 
  Does anyone know what might be causing this? I haven't changed 
any
  compiler options except the default background color.
 
  Thanks!
  Wayne
 
   
 



  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Timer to run function every 30 min

2006-08-05 Thread Jeremy Lu




side note:

if you were to use 60 * 30 * 1000, 
try to write it like this:

var interval:Number = 60 * 30 * 1000;

then use the variable interval in the timer, so the value won't be calculated everytime needed.
On 8/6/06, sinatosk [EMAIL PROTECTED]
 wrote:













  



60 * 30 * 100060 secondstimes30 minutestimes1000 milisecondsequals180I recommend using 60 * 30 * 1000 instead of the 180 so it's easier for you to change/debug
and then just add an event listener on timer event name along
with the function you want it to call upon 30 minutes and then your
done :pOn 05/08/06, 
David Brown [EMAIL PROTECTED] wrote:















  






Hello all,

I could use some help. I have been 
livedocs.macromedia.com/flex/2docs looking for a way to create a timer function 
that would execute a function every 30 min. I found an example of mytimer 
and looked at a example for simple analog clock. But I am having a hard 
time understanding how it relates to my code. Below is a code 
snipet.

I would like to run the InitApp() function every 30 
min. That should refresh my two datagrids that inturn will update my 
screen.

Any help would be great.

Thank 
David

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
layout=absolute width=500 height=56 backgroundGradientColors=[#ff, 
#ff] creationComplete=initVars() horizontalAlign=center 
verticalAlign=middle borderColor=#ff backgroundColor=#ff 
borderStyle=solid borderThickness=1 
mx:Script 
![CDATA[import 
mx.logging.LogEvent;/* import 
flash.events.MouseEvent;import mx.events.FlexEvent; 
*/import 
mx.styles.CSSStyleDeclaration; 
import mx.effects.*;import 
mx.events.*; import 
mx.rpc.events.*; import 
mx.controls.Alert;import 
mx.managers.PopUpManager;import 
flash.events.Event; import 
flash.events.TimerEvent; import 
flash.utils.Timer; 
import 
mx.controls.Alert; 
import 
mx.collections.*; 
import 
flash.net.*; 
import flash.display.Sprite; 
[Bindable] 
 public var 
mylocID:String;

 // Assign values to 
new properties. private 
function initVars():void 
{InitApp(); 
} 
public function 
InitApp():void{// assign 
values passed from the html object flashvarsmylocID 
= Application.application.parameters.mylocID;// if 
no value passed from the html object tag then assign 
valueif (mylocID == null) 
{mylocID = 
29223;}// get 
weatherweatherSvc.qryCurrentWeather(mylocID);weatherSvc.qryExtendedWeather(mylocID);// 
set focus on the first row of the 
gridsdgCurrentWeather.selectedIndex = 
0;dgExtendedWeather.selectedIndex = 
0;} 
]] /mx:Script 
mx:RemoteObject id=weatherSvc destination=ColdFusion 
source=Widgets.cfc.widgets showBusyCursor=true /

  















  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: HTTP spy :: Charles, Service Capture or...

2006-08-04 Thread Jeremy Lu



Charles, a pretty nice replacement for NCD :-)Jeremy.On 8/4/06, Dave Wolf [EMAIL PROTECTED]
 wrote:












  



If you are using Tomcat as your application server, the built in
SOAPMonitor is awesome.  Its free, and shows all request and response
traffic.

We have things setup in our standard build scripts to deploy and
enable the SOAPMonitor by telling the build you want a developer
build.  Pretty slick.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Paul Arch [EMAIL PROTECTED] wrote:

 joangarnetdotcom wrote:
  Hi list,
  I want an HTTP spy so I can debug HTTP traffic (AMF, XML_HTTP,
  POST...) and so.
  I can see that there's Cherles and Service Capture which both look
  very promising but
  Do I have more options ( OpenSource?? ) 
  Which is better for you?
 

 How about ethereal ?
 
 http://www.ethereal.com/
 
 
 
 -- 
 
 
 Paul Arch
 
 ---
 Esidium Group Pty. Ltd.
 Ph:  (08) 6461 4230
 Fax: (08) 6461 4238
 http://www.esidium.com.au 
 Powering DataMate - www.datamate.com.au
 ---



  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Help with SharedObject please!

2006-08-04 Thread Jeremy Lu




Looks like a security problem, can you trace the contents stored in the sharedobject and see if all data are kept there ?

Jeremy.On 8/5/06, wayneposner [EMAIL PROTECTED] wrote:













  



Howdy all...

I trying to use a SharedObject to keep user entered search strings in 
a drop-down box like the Google IE Toolbar.  This works fine when I'm 
running the app locally, but as soon as I move it to a server and 
access it via a URL, it stops working.

Does anyone know what might be causing this?  I haven't changed any 
compiler options except the default background color.

Thanks!
Wayne


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] [Flex 2] Extending Components: Why test for existence of children?

2006-08-03 Thread Jeremy Lu




AFAIK, createChildren() may be called more then once during the app
life cycle, so it's neccessary to check the existence of the children
before creating it.


Jeremy.

On 8/3/06, astgtciv [EMAIL PROTECTED] wrote:













  



flex2_createandextendcomponents.pdf is careful to repeate that if you are 
extending a component, in your createChildren() method, test for existence 
of children before creating them to allow subclasses to create a different 
child instead(e.g., page 168).

However, the children in that (and every other) example come from private 
variables in the component with no getters/setters, so the subclass would 
not be able to access them to create a different child instead... am I 
missing something important?

Example:

public class ModalText extends UIComponent {

...

private var text_mc:TextArea;

private var mode_mc:Button;

...

/*** Implement the createChildren() method. ***/

// Test for the existence of the children before creating them.

// This is optional, but do this so a subclass can create a

// different child instead.

override protected function createChildren():void {

super.createChildren();

// Create and initialize the TextArea control.

if (!text_mc) {

text_mc = new TextArea();

...

addChild(text_mc);

}

// Create and initialize the Button control.

if (!mode_mc) {

mode_mc = new Button();



}


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] will Flash (stand-alone) Remoting be upgraded for Flex 2.0? (ie not FDS)

2006-08-03 Thread Jeremy Lu




uhm, I don't know if Flash Remoting for Java/.NET will continue, but
you can use flash remoting with flex2 now, no need for newer remoting
gateway anyway.

If you insist on having AMF3, there's always 3rd party product (like weborb) supporting it.


Jeremy.On 8/4/06, Barry Beattie [EMAIL PROTECTED] wrote:













  



If you're using Coldfusion MX7, just run the 7.0.2 updater and it
will give you remoting built in.

yes Nick, I know

but that's not what I'm asking.

I'm specifically asking about the stand-alone remoting product that is
(was?) available for Java (and .NET) and whether it will be upgraded
to AMF3 (or it stays at AMF0, is depricated and eventually phased
out).

I didn't want to spell it out in the origional post but, unless I can
align Flex 2 to the strategic plan here and can then drag CF along
with it, CF here will *never* be upgraded to 7. it will remain at 6.1
at best.   There's a big push up high to move us to Java/JSP
development and away from CF (for lots of reasons I won't mention
here).

note: OpenAMF: I'm deliberatly ignoring it at the moment (for
reasons). same with AMFPHP

thanx
barry.b

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] will Flash (stand-alone) Remoting be upgraded for Flex 2.0? (ie not FDS)

2006-08-03 Thread Jeremy Lu




well, don't quite understand what you mean, but I'm referring to that
you can use customized NetConnection object to connect existing
remoting gateway (AMF0, no matter it's for .net/java/php).

You could take a look at Renaun's remoting component, that's the way to go without changing any backend settings.


Jeremy.On 8/4/06, hank williams [EMAIL PROTECTED] wrote:













  



no need for newer remoting
gateway anyway.If you dont mind spending $20,000 for flex in order to do something that used to cost 1k.

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: creating a variant PopUpButton - errors on getStyle(popUpIcon)

2006-08-02 Thread Jeremy Lu




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

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













  



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





Try this:

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

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


Jeremy.

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














  



Yeah,

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

-TH

--- In flexcoders@yahoogroups.com, Pan Troglodytes 
[EMAIL PROTECTED] wrote:

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



  


















-- Jason

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Is there a way to put a close X on the tabnavigator

2006-08-01 Thread Jeremy Lu




I've made one (it's a draggable tabbar with close button on each tab), sources included

*sample
http://ria.richtechmedia.com/upload/TabBarFinal/tabBar.swf

*source
http://ria.richtechmedia.com/upload/TabBarFinal/

Code heavily commented (in Chinese), if you have any question, please feel free to contact me.


Jeremy.



On 8/2/06, flxcoder [EMAIL PROTECTED] wrote:













  




 I have a way of removing the tab from the tabnavigator using
 tabs.removeTabAt(x), but I am looking for a way to add an X on top of
 the tab, something similar to the way editors in eclipse do.

 any clues?

any ideas?


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: creating a variant PopUpButton - errors on getStyle(popUpIcon)

2006-07-31 Thread Jeremy Lu




Try this:

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

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


Jeremy.

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













  



Yeah,

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

-TH

--- In flexcoders@yahoogroups.com, Pan Troglodytes 
[EMAIL PROTECTED] wrote:

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



  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Is it possible to do this in Flex? (quick help needed, please!!!)

2006-07-31 Thread Jeremy Lu




I did something similar before.

I think the main problem (requirement) fromLarry is :

The main app grab all components needed and save it in local disk the
first time it run, then the application runs with downloaded components
from there, which *means* the application should *not* download those
components everytime it gets started.

My solution is to use Zinc as a launcher, doing the routine check and
download newer/modified components, then Zinc launch the real swf
application, when the app starts, it assumed everything needed is
already available locally.


Jeremy.

On 8/1/06, JesterXL [EMAIL PROTECTED] wrote:













  



Anything is possible at Zombo.com.

Yes, I actually did this in the past and ran into some serious security 
sandbox issues.  Flex can load other Flex apps into it.  The Flash Player 
has the capability to load multiple SWF's into their own security sandbox 
domains; some are open, others are restricted.

If I were to do it again, I'd get something ELSE to get my SWF, like an EXE 
to open an HTTP connection, download the latest SWF, then load it up, maybe 
in it's own EXE shell.  Apollo, Adobe's endeavor to make occasionally 
connected applications work offline, would help this.  For now, I'd highly 
suggest NOT using the Loader unless you can confirm your prototype 
application works fine when it's being loaded into another Flex app.  Zinc 
2.5 is currently the only 3rd party projector maker I know of capable 
providing extra help in this area.

- Original Message - 
From: Larry Liang [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, July 31, 2006 10:00 PM
Subject: [flexcoders] Is it possible to do this in Flex? (quick help needed, 
please!!!)

Hi All,

My company is currently evaluating the possibility of using flex as a
very large project development tool. I've got a question from my
boss. Please help me.

Can we develop an application that runs on desktop(can be inside the
standalong flash player). When the app first starts, it downloads all
the sub components/movies needed onto local hard disk and then runs
from there. After the first time, every time the app starts, it will
automatically check the latest version of the components/movies on
the server, and if there is a newer version, it downloads the newer
one and replace the old one on local machine.

I think what I need basically is somthing like what Goowy desktop
version does.

If it's possible, could you please give me some idea on how to do it.

Thanks,

Larry

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

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

Yahoo! Groups Links


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Using IUID

2006-07-30 Thread Jeremy Lu




If your VO are bindable, chances are very high that you might not need
to implement the IUID interface, it will be automatically done.


Jeremy.On 7/31/06, Oriol Gual [EMAIL PROTECTED] wrote:













  



I have done it in a VO using Cairngorm, I suppose it won't be very different to you:package com.example.vo {  import mx.core.IUID;  import 
com.adobe.cairngorm.vo.ValueObject
; [RemoteClass(alias=com.example.vo.ExampleVO)] [Bindable] public class ExampleVO implements ValueObject, IUID 

{public var dummyVar: int;public var anotherDummyVar : String;public var _uid:String;

 public function get uid():String

  {   return _uid;  }

public function set uid(value:String):void 

  {   _uid = value;   }   }

}Oriol.2006/7/30, pateyog [EMAIL PROTECTED]:

I am a newbie and was trying to understand how to use the iuidinterface while using a datagrid that is being populated by aArrayCollection fetching data from an xml using http service.Can any of you point me to an example
Thanks-pateyog--Flexcoders Mailing ListFAQ: 
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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Custom component live-preview and code-hint questions

2006-07-28 Thread Jeremy Lu




it's solved, misplacement of swc file, thanks :-)On 7/28/06, Dan Rossi [EMAIL PROTECTED] wrote:













  



As the manual says, do you not have to add it as a namespace first ?

so xmlns:panels=components.panels.*

will load components in flex files in components/panels/

panels:TheComponent/

components/panels/TheComponent.mxml

or i have some in As aswell so

xmlns=com.company.comp.*

com/company/comp/

On 28/07/2006, at 9:10 AM, dc wrote:

 Just created a new component and tried to pack it into a swc, the
 component is named TheComponent.as and the swc is named test.swc

 Got two questions.

 1. The custom component never shows up in Design View, just like those
 FB2 built-in components did.

 Actually no matter it's packed in a swc file or just direct import the
 component actionscript file, it just won't display in Design View,
 hence user can't live preview and manipulate it right on the stage.

 2. Code hint for custom class/component never showed up.

 When I created a new project and drop the test.swc in and add it to
 the library path, then use following code to put it on stage:

 var t:TheComponent = new TheComponent();
 this.addChild( t );

 Or

 ns1:TheComponent /

 The component will appear on stage, but all code hint for it was gone,
 normally when I type

 t. -- there should be a drop down list of code hints for t right
 after . (dot), but nothing showed up

 or

 ns1:TheComponent -- after typing the space, there should be a  
 code hint

 It failed me in both ways.

 Any one could shed a light on these two questions ? thanks.

 Btw, I have tried to pack the swc using both Library project and
 compc, also tried various combinations of -namespace, -source-path and
 manifest xmls.


 Jeremy.






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

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








  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Not getting code hinting for Cairngorm types

2006-07-28 Thread Jeremy Lu



Recently ran into this problem while packing component into swc.The problem lies in how you add the swc to your project.It's inProject  Flex Build Path  Library Pathpress Add SWC and make sure you put something like this in the dialog box:
$DOCUMENTS\your_lib.swc I'm assuming you put your_lib.swc in the project folder.After this, you should get correct code hint for custom types, and even better, custom component can be live-previewed in the Design View.
Jeremy.On 7/29/06, jrjazzman23 [EMAIL PROTECTED] wrote:













  



We're not getting code hinting for Cairngorm types in FB2.  I'm only
referencing the swc file.  Do we need the source in order to get code
hinting?

thanks


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: what is beeing sent via HTTPSerice?

2006-07-28 Thread Jeremy Lu



Charles works great as well. (btw, it's support flash remoting, AMF0/3 too )http://www.xk72.com/charles/
Jeremy.On 7/29/06, Vikas Bhatia [EMAIL PROTECTED] wrote:













  



There is also this https://addons.mozilla.org/firefox/1290/
On 7/28/06, ben.clinkinbeard 
[EMAIL PROTECTED] wrote:












  



I strongly prefer http://kevinlangdon.com/serviceCapture/

Ben
http://www.returnundefined.com/

--- In flexcoders@yahoogroups.com, arnold_charming
[EMAIL PROTECTED] wrote:

 Hi!
 
 I'm using HTTPService class to send some form data to my server
 scripts. Is there any way how to find out what exactly (what variables
 and  values) are beeing send via HTTPService?



  















  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Custom component live-preview and code-hint questions

2006-07-27 Thread Jeremy Lu





Just created a
new component and tried to pack it into a swc, the component is named "TheComponent.as"
and the swc is named "test.swc"




Got two
questions.




1. The custom
component never shows up in Design View, just like those FB2 built-in
components did.




Actually no
matter it's packed in a swc file or just direct import the component actionscript
file, it just won't display in Design View, hence user can't live preview and manipulate
it right on the stage.





2. When I created
a new project and drop the test.swc in and add it to the library path, then use
following code to put it on stage:






var t:TheComponent
= new TheComponent();
this.addChild( t
);




Or 




ns1:TheComponent
/




The component
will appear on stage, but all code hint for it was gone, normally when I type 




t. -- there should be a drop down list of code
hints for t right after . (dot), but nothing showed up




or 




ns1:TheComponent
-- after typing the space, there should be a code hint




It failed me in
both ways.





Any one could
shed a light on these two questions ? thanks.




Btw, I have tried
to pack the swc using both Library project and compc, also tried various
combinations of -namespace, -source-path and manifest xmls.





Jeremy.


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Which PHP Plugin for Flex IDE?

2006-07-26 Thread Jeremy Lu



Phpeclipse.It's not perfect, but I just need a php editor with color coding and code hinting, that's good enough for me.If I want to go full-blown, I will just fire up Zend Studio then I got everything...
Jeremy.On 7/27/06, Kevin Mulvihill [EMAIL PROTECTED] wrote:













  



I'm working with PHP and Flex and need to install a PHP plug into the Flex
IDE. There's PHPEclipse, but apparently the debugger is not fully
integrated, or integrated well. There's also TruStudio, but this is the
first I've heard of it. There may also be others I don't yet know about.

What are you folks using and why?

TIA,
Kevin


  















__._,_.___





--
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] invalidateDisplayList()

2006-07-25 Thread Jeremy Lu



In your updateDisplayList() function, you can add an if clause to detect which part should be redrawn.Something like :if( dotChanged ){ //do redraw}Jeremy.
On 7/25/06, Daniel Tuppeny [EMAIL PROTECTED] wrote:













  







Hi,

Does calling 
invalidateDisplayList() on a control mean that *everything* (including parents) 
gets re-drawn, or just the children?

I have something 
similar to Ely Greenfield's RangeSelector class (
http://demo.quietlyscheming.com/overlayDemo/), 
but the mousemove event seems to cause my PlotSeries to re-draw too. This means, 
when I have 1000 points on my chart, the draggable box is very 
sluggish.

I thought a 
control's updateDisplayList() would only be called if something on that actual 
control changed?

Thanks,

Danny


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.









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


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] invalidateDisplayList()

2006-07-25 Thread Jeremy Lu



Kinda weird, this is my understaning too, but I never dig deep enough into those charting widgets, maybe things are different in there.Have you tried the FlexComponents list also hosted on Yahoo (lead by Ted Patrick) ? most component gurus are there.
Jeremy.
Surely invalidating one object should just cause itself 
(and children) to be redrawn?


From: flexcoders@yahoogroups.com
 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy 
LuSent: 25 July 2006 14:53To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
invalidateDisplayList()
In your updateDisplayList() function, you can add an if 
clause to detect which part should be redrawn.Something like 
:if( dotChanged ){ //do 
redraw}Jeremy.
On 7/25/06, Daniel 
Tuppeny [EMAIL PROTECTED] 
wrote:

  
  
  
  
  
  
  
  Hi,
  
  Does calling invalidateDisplayList() on a 
  control mean that *everything* (including parents) gets re-drawn, or just the 
  children?
  
  I have something similar to Ely 
  Greenfield's RangeSelector class (
 
  http://demo.quietlyscheming.com/overlayDemo/), but the mousemove event 
  seems to cause my PlotSeries to re-draw too. This means, when I have 1000 
  points on my chart, the draggable box is very sluggish.
  
  I thought a control's updateDisplayList() 
  would only be called if something on that actual control 
  changed?
  
  Thanks,
  
  Danny
  
  
  The 
  information contained in this e-mail and/or any attachments is confidential 
  and intended only for the individual(s) to which it is addressed. If you are 
  not named as an addressee you must not disclose, copy or take any action in 
  reliance of this transmission. This e-mail and its attachments have been 
  scanned for viruses by MessageLabs Ltd. 
  
   
  __This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
   [Inbound Mail Scanned by 
MessageLabs]

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


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Plugins to Standalone Flex

2006-07-24 Thread Jeremy Lu




I had no problem with Flex plugin to Eclipse, also installed
PhpEclipse, SubClipse and a bunch of other plugins (as you can imagine).

Flex plugin inside Eclipse does have some minor probelm with short cut
key, but it can be re-set in preference  keys, things like Outline,
Block comment call all be corrected there.


Jeremy.On 7/25/06, Rob Rusher [EMAIL PROTECTED] wrote:













  



Although
I have not installed any PHP plugins, I have had much better luck
installing plugins into the Flex Builder than installing Flex Builder
into Eclipse.When installing FB into eclipse it seemed that several
little things didn't work right, like keyboard shortcuts, etc...
This annoyed me, so I switched back to the stand-alone version.
I haven't had any issues with other plugins installed into FB stand-alone.HTHOn 7/24/06, Kevin Mulvihill
 
[EMAIL PROTECTED] wrote:












  






Hi 
all,

I've 
setup the standalone version of Flex and am thinking about loading some other 
Eclipse plugs into it (like PHP). I'm wondering what kinds of limitations might 
exist if I do this... or is it better to just install the Flex plug into the 
full Eclipse version? Recommendations?

Thanks,
Kevin

  













-- -- Regards,Rob RusherAdobe Certified Breeze, ColdFusion MX and Flex 2 Instructorm: 303-885-7044im: robrusher

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] TODO/FIXME extension for Flex Builder 2

2006-07-21 Thread Jeremy Lu



hi Dirk, Thanks for the great plugin.Btw, next time you can try tinyurl.com to shorten the url, the link would looks like this:
http://tinyurl.com/l4m33Jeremy.On 7/21/06, Weyert de Boer [EMAIL PROTECTED] wrote:













  



Nice, this plugin looks really nice :)

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] flex purchase - source without media/download

2006-07-21 Thread Jeremy Lu



The source for charting is *indeed* there, after you filled in the serial number, it will be extracted from the charting.jar to framework folder.Jeremy.On 7/21/06, 
Pan Troglodytes [EMAIL PROTECTED] wrote:













  



I just realized something that might be a problem. We're buying Flex w/ Charting from our reseller. I told him we don't need the media because all I need it the license key to unlock the trial. But I just realized the trial doesn't come with source for charting. Is there some way to download that if you have a license, short of purchasing from the Adobe store?
-- Jason

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] omitting .svn during build

2006-07-21 Thread Jeremy Lu




I tould tortoiseSVN to ignore .* and bin so it never gets into the repository.

(most of the time you don't need to put bin folder into svn right ? other developers can build it themself)

Jeremy.On 7/22/06, Engkee Kwang [EMAIL PROTECTED] wrote:













  













Just a clarification… the subject
should say "omitting .svn during build"

My finger was too quick for my brain 
J



-Engkee








 
  
  Life
  isn't measured by the breaths you take, but by the moments that take your
  breath away.
  
 
 
  
  
  
  
  Anonymous

  
 






















From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of engkee
Sent: Friday, July 21, 2006 10:48
AM
To: flexcoders@yahoogroups.com

Subject: [flexcoders] omitted .svn
during build











I use Tortoise SVN as a Subversion client. Flex
Builder 2 copies all 
dependencies into the bin directory during build, including the .svn 
subdirectories... creating problem for Tortoise because it gets 
confused by the duplicate and invalid .svn directories copied into the 
bin folder. In addition, because of the .svn directories, it leaves 
behind a lot of empty subdirectories in the bin folder.

Is there a way to tell Flexbuilder2 to _not_ copy directories 
named .svn?

I've read about suggestions to use subclipse but because not all 
developments are in Flex or Eclipse, I prefer to stay with Tortoise.

-Engkee










  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Talking Components

2006-07-21 Thread Jeremy Lu




Surely it can.

You can create a MyEvent class which extends Event then add in as many
properties you want (something like data), there's a fine example in
the manual about creating custom event.

When you need to broadcast event from one component to another, just use:

comp.dispatchEvent( MyEvent(someEvent, myDataObject) );

this should do the trick.


Jeremy.
On 7/22/06, Michael [EMAIL PROTECTED] wrote:













  



I have a Flex app with two custom components.   What is the best way
for these two components to talk to each other.  Pass a reference of
one component to the other, databinding, or event broadcast to each other?

I basically have one component that is a list of ID/Names, when I
double click, I want the other component to get the ID and retrieve
the extended data from the DB.   My data is not stored in the
main.mxml application.   I know in Flash you would use event
listeners, but can the event listeners in Flex also send data?  The
examples I have seen broadcast a message, but they don't seem to send
data like Flash dispatch events would. 

- Michael  


  















__._,_.___





--
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] tracing into SDK

2006-07-21 Thread Jeremy Lu




Press ctrl key then click on the DataGrid should bring you in there.
(when ctrl key are pressed, DataGrid will be blue with a underline).


Jeremy.On 7/22/06, Dominick Accattato [EMAIL PROTECTED] wrote:













  



hrmm,
i haven't checked yet. Your talking about debuggin right? I
would imagine that you could attach the source to the swc, I'll try
tonight.
On 7/21/06, Pan Troglodytes 
[EMAIL PROTECTED] wrote:






Is there no way to trace into the SDK libraries, like DataGrid?-- Jason  

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] importing xml to my flex app

2006-07-19 Thread Jeremy Lu




One little addition to Tracy's post, when using attribute for
labelField, don't forget to add an @ sign, this is the E4X notation
for accessing attribute.


Jeremy.
On 7/19/06, Tracy Spratt [EMAIL PROTECTED] wrote:













  













Yes.



Assign my_xml to the dataProvider property
of the List.



Then, depending on the structure of your
xml, specify labelField or define a labelFunction.



You'll need a more specific question
for a more specific answer.



Tracy











From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of flexnewbie06
Sent: Tuesday, July 18, 2006 12:35
PM
To: flexcoders@yahoogroups.com

Subject: [flexcoders] importing
xml to my flex app











Is is possible for me to populate a list in my app
with an external XML 
doc.

So far, I have the xml doc loaded into XML object in my app using 
URLLoader and when I trace my_xml.toString(), my xml doc is in fact 
loaded the XML object. I guess my problem from here is how to access 
the attributes in my XML object to populate my list??? 

Does anyone have any experience with this?

thanks 
Jenn










  















__._,_.___





--
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: SWFLoader how to access host application

2006-07-19 Thread Jeremy Lu




Don't have Flex at hand, but I would try (from inside the loaded swf):

this.systemManager.application.someMethod()

you may have to cast each variable to correct type, something like 

SystemManager( this.systemManager).application.someMethod().

just my wild guess, might works.


Jeremy.

On 7/19/06, milan kosir [EMAIL PROTECTED] wrote:













  



Thanks, man,I've
seen LocalConnection examples, but I assume that it is faster/more
secure/etc. to talk directly, if swf is loaded inside some other swf
and they are both AS3. From host to loaded swf (when this is
loaded/initialized) it is quite simple, like it is described in help (

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0543.html
), but I would like to talk from loaded swf to host. I'm still waiting if somebody know if this is possible and how to do it.MilanOn 7/18/06, 
flexnewbie06
 [EMAIL PROTECTED] wrote:














  



Milan, you may be light years ahead of me...I don't know. However, I 
was working on getting my Flex app to communicate with my loaded SWF 
and the only way I could accomplish this was to use LocalConnection. My 
Host app can send and listen from the loaded SWF and vica versa...

I don't know if that helps, hope it does
jenn

--- In flexcoders@yahoogroups.com
, kosir.milan 
[EMAIL PROTECTED] wrote:

 Hi all, I'm posting this again after first unseccesfull post.
 
 I'd like to use SWFLoader to load some flex/AS3 swf, and when it is
 loaded into host application, I'd like to change some data on it,
 according to data in host application. I've seen examples in help 
about
 accessing loaded SWF with SystemManager, but I'd like to access host
 application from within loaded swf (in creationComplete event). Does
 anyone has experience how to access variables/methods in host
 application? If I trace this.parent.parent.parent in loaded swf I can
 see my SWFLoader in host application, but it seems like I can't access
 parentApplication directly.
 Any hint would be greatly appreciated.
 Thanks, Milan



  















  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] How to remove DataGrid itemRenderer top Bottom spaces

2006-07-19 Thread Jeremy Lu




have you tried to set paddingTop, paddingBottom to 0 ?

another possible reason is the rowHeight of DataGrid is just too high, try shorten it.



Jeremy.On 7/20/06, Artur Kordowski [EMAIL PROTECTED] wrote:













  






I've created an 
itemRenderer for a DataGrid and set a backgroundColor. But when the DataGrid is 
rendered I have still top 1px and bottom 2px white space (look at sample image). 
Can any one tell me how I can remove it, so that the background fill the cell 
without spaces?

Artur

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Flex and Server-Side Technology Recommendations

2006-07-16 Thread Jeremy Lu




hi Kevin,

You can start with a serach in this list and flex 2 ldoc with following keyword:

1. HttpServices, WebServices, RemoteObject
2. Flash Remoting
3. modelLocator (for Cairngorm related stuff)


On 7/16/06, Kevin Mulvihill [EMAIL PROTECTED] wrote:













  






Hi 
all,

What do you all 
recommend for backend server-side technology to work with Flex? I'm planning on 
some work with MySQL and not particularly interested in 
.NET.

I know there's FDS 
but it's too pricey to own for small budget projects. Has anyone researched web 
hosts who offer FDS 2 on their servers and know what their hosting charges are 
for such access? Any recommendations would be great. I'm not seeing much through 
Google.

I'm thinking more 
along the lines of Ruby on Rails just because I've heard it's a very productive 
environment to work in. I confess I don't yet know too much about it though. Any 
comments on how this technology might work with Flex?


How does Cairngorm 
fit into the data access picture? Just a set of best practices or a full-on 
framework like Rails?

Any comments on these issues would be 
greatly appreciated! Thanks all!

Kevin

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Flex and Server-Side Technology Recommendations

2006-07-16 Thread Jeremy Lu



If this is all about ruby, there are various open source Ruby projects going now, most active one is :http://blog.themidnightcoders.com/2006/06/weborb-and-flex-remoting-for-ruby-on.html
and this one had been dead for more then two year but there are workable code in the CVS:http://rubyforge.org/projects/amf4r/Jeremy.
On 7/17/06, JesterXL [EMAIL PROTECTED] wrote:













  






Some more relevant links:


http://www.liverail.net/articles/2006/04/16/rubyonrails-1-1-and-flex-2-0-pt-1


http://www.liverail.net/articles/2006/05/06/rubyonrails-1-1-and-flex-2-0-pt-2


http://www.jessewarden.com/archives/2006/05/i_got_flash_to.html


http://www.jessewarden.com/archives/2006/05/e4x_doesnt_suck.html


- Original Message - 
From: 
Mark Wales 

To: flexcoders@yahoogroups.com
 
Sent: Sunday, July 16, 2006 3:57 PM
Subject: Re: [flexcoders] Flex and Server-Side Technology 
Recommendations
There are several ways that Ruby and Flex can work 
together. However, so far, none of them offer the same degree of integration 
provided by FDS, if that is what you are seeking. If you are intent on 
Rails and with a simple query/response model, google Rails Flex 2 and you'll 
find some of the posted examples. If you want to dig into it a bit, Chad 
Fowler's new book on Rails offers a description of how to make any Rails 
application talk XML. If that suits your needs, an example of a real-life XML 
API can be found on Basecamp - a product of 37 Signals and one of the foremost 
examples of Rails used for commercial purposes. Here's a link to 
it:  http://basecamphq.com/api/I've not 
tried to integrate with it myself - but sending and receiving XML from Flex is 
fairly easy and well documented and should be relatively easy to use. 
-MarkKevin Mulvihill wrote: 

  
  
  Hi 
  all,
  
  What do you all recommend 
  for backend server-side technology to work with Flex? I'm planning on some 
  work with MySQL and not particularly interested in 
  ..NET.
  
  I know there's FDS but 
  it's too pricey to own for small budget projects. Has anyone researched web 
  hosts who offer FDS 2 on their servers and know what their hosting charges are 
  for such access? Any recommendations would be great. I'm not seeing much 
  through Google.
  
  I'm thinking more along 
  the lines of Ruby on Rails just because I've heard it's a very productive 
  environment to work in. I confess I don't yet know too much about it though. 
  Any comments on how this technology might work with 
  Flex?
  
  
  How does Cairngorm fit into 
  the data access picture? Just a set of best practices or a full-on framework 
  like Rails?
  
  Any comments on these issues would be 
  greatly appreciated! Thanks all!
  
  Kevin 

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-15 Thread Jeremy Lu




this is the snippet from my code library:

package
{
 import mx.containers.HBox;
 import mx.controls.CheckBox;
 
 public class CheckBox2 extends HBox{
  
  public function CheckBox2(){
   this.setStyle(horizontalAlign, center);
  }
  
  var c:mx.controls.CheckBox;
  
  override protected function createChildren():void{
   c = new CheckBox();
   this.addChild( c );
  }
  
  override public function set data(item:Object):void {

 super.data = "">

 if( item!=null ){
 c.selected = (item.Sent == 1)?true:false ;
 }

 }
  
  
 }
}
=== mxml ===

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute
 
 mx:Script
 ![CDATA[
 
 [Bindable]
 public var myDP:Array = [
 {label1:Order
#2314, contact:John Doe, quant:3, solddate:new Date(2005, 0, 1),
Sent:1},
 {label1:Order
#2315, contact:Jane Doe, quant:3, solddate:new Date(2005, 0,
5), Sent:0}];
 ]]
 /mx:Script

 mx:DataGrid id=myDG dataProvider={myDP} variableRowHeight=true width=500 height=250 editable=true
 mx:columns
 mx:DataGridColumn
dataField=label1
headerText=Order # editable=false/
 mx:DataGridColumn
dataField=quant
headerText=Quantity
itemEditor=mx.controls.NumericStepper

editorDataField=value/
 mx:DataGridColumn
dataField=solddate
headerText=Date
itemRenderer=
mx.controls.DateField
rendererIsEditor=true
editorDataField=selectedDate/
 
 mx:DataGridColumn
itemRenderer=CheckBox2 dataField=Sent rendererIsEditor=true
editorDataField=data /

 
 /mx:columns
 /mx:DataGrid
/mx:Application

=

things to note:

1. Using HBox (or any containers) inside item renderer is very
*expensive* (said Joan Tan from Adobe), which might be the cause for
sluggish scrolling of Datagrid.

2. Most of the time my item renderer are a composition of multiple UI
components, so I have to use Box or other kind of Containers.

3. Anatole's approach (using DataGridListData(listData).dataField
) is more abstractive so that the renderer is generic enough for easy
reuse later, if you just need one single chechbox in there, that's the
best way to go (IMHO).




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: WebORB for .net beta5: feedback

2006-07-13 Thread Jeremy Lu




Just a reminder, I checked Aral's ARP framework last week (yes, flex 2
compatible version), there's a pretty well-written RemotingService
class which wraps NetConnection (supporting AMF0) and provide exactly
the same function of Service/RelayResponder from Flash 8.

So one can still use Flash Remoting for .Net (official product from
Adobe or open source ones) as the server-side component, then use ARP's
Service in the client side to invoke the method, this is pretty easy to
setup and just works.

I've tried it with AMFPHP 1.2, OpenAMF and Flourine, all went well.

Jeremy.On 7/13/06, Jason Hawryluk [EMAIL PROTECTED] wrote:













  






I'm 
about to start tryingit out. So I'll post me experiences as 
well.

Jason



  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com]De la part 
  de Jonas WindeyEnvoyé: jeudi 13 juillet 2006 
  12:02À: flexcoders@yahoogroups.comObjet:
 RE: 
  [flexcoders] Re: WebORB for .net beta5: feedback
  
  
  
  Hi 
  Tim,
  
  Well, my first 
  impression is that it's pretty complex, at least a lot more complex than just 
  creating ASP.NET Web services and calling them from 
  flex.
  Apparently you need 
  to place all your remote methods in xml config files. Etc. The tutorials from 
  
http://www.themidnightcoders.com/articles/datamanagement-part3.htm 
  help a lot, but it's still a huge change, also in the way of thinking. (eg 
  updating data with the sync methods, changeobjects etc). Also you use a lot 
  more databinding, whereas with web services you just fill your datagrid or 
  treeview with the data you receive, and in the case of an update, you will 
  probably use a web service too to update the current row. Here you just omit 
  your changes to your dataService, and he handles all the 
  rest.
  
  I think the Flex + 
  .NET + WebORB community is pretty small at the moment though, so it would be 
  nice of some gurus from this list play a bit with it like I'm doing right 
  now.
  
  Jonas
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Tim HoffSent: donderdag 13 juli 2006 
  11:32To: 
  flexcoders@yahoogroups.com
Subject: [flexcoders] Re: WebORB for .net 
  beta5: feedback
  
  
  
  
  Hey 
  Jonas,Please let us know what your impressions of WebORB are after you 
  have had a chance to work with it a little. I'll be switching from 
  .NET WebServices to RemoteObject soon, so I would love to hear about your 
  experience.Thanks,Tim Hoff--- In flexcoders@yahoogroups.com
, 
  Jonas Windey [EMAIL PROTECTED] wrote: Ok, I forgot to read 
  my mails last night. Apparantly Mark Piler from 
  themidnightcoders.com sent me a mail after noticing that I had 
  downloaded the beta 5 (which had just been released), writing the 
  following:A quick workaround is to open 
  web.config from /Inetpub/wwwroot/weborb and remove the 
  following two lines:add 
  assembly=vjslib, Version=2.0.0.0, Culture=neutral, 
  PublicKeyToken=B03F5F7F11D50A3A/  add 
  assembly=BlueDragon, Version=6.2.1.0, Culture=neutral, 
  PublicKeyToken=7551335DE9FC3C36/   
   Please make sure that the closing tags for assemblies and 
  compilation stay in the file (they are on the same line as 
  the BlueDragon reference).You can 
  always check if web.config is valid by opening the following URL: 
   
http://localhost/weborb/examples/testsuite/client/testsuite.aspx 
 How nice is this? :-) I guess he must get a 
  notification every time someone downloads his product, and check 
  if everything is working.So, I got the 
  Contact Manager sample working now, let's play around a bit. 
 Jonas
  __ NOD32 1.1656 (20060712) 
  Information __This message was checked by NOD32 antivirus 
  system.http://www.eset.com
  

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: FDS question

2006-07-12 Thread Jeremy Lu




If in the end FDS and XML/Web Service are not good enough for you, why
not give Flash Remoting a try ? no matter you're using RemoteObject or
direct NetConnection manipulation would solve your problem.

Jeremy.On 7/12/06, Steven Webster [EMAIL PROTECTED] wrote:













  






I'm going to step this thread all the way to the beginning 
again; there was a flawed message in this thread that suggested that FDS was 
only of interest for real-time data; while it's certainly true that when we're 
demonstrating the power of FDS, we'll leverage real-time/collaborative examples, 
let's not forget here that the FDS value proposition is much more than real-time 
dashboards.

Christophe Coenraets articulated very clearly during MAX 
last year, the concept of a data-oriented versus a service-oriented architecture 
(I think credit is due to Matt Chotin here too); I think that is the starting 
point for discussion as to whether you are going to leverage benefit from FDS in 
your application architecture. 

RPC services are most appropriate in an SOA 
environment. You have an existing infrastructure with which you wish to 
integrate, and that infrastructure presents a set of services that can be 
invoked from your RIA client. That's where you'd likely make a decision to 
use RPC services:

OnlineBankingService.java
 +schedulePayment( payment, date 
)
 +openAccount( account )
 +requestCurrency( fromAccount, amount, currency 
)
 +generatePrintableStatement( account, fromDate, 
toDate )
 ...etc

If however, your service tier starts to look a lot 
like:

PatientRecordService.java
 +createRecord( patient )
 +readRecord() : patient
 +updateRecord( patient )
 +deleteRecord( patient )

AppointmentService.java
 +createAppointment( appointment 
)
 ...etc

Then you're services are really just defining CRUD 
operations on your data-tier, and it would suggest that you have a data-oriented 
architecture. You're probably also having to do a great deal of 
heavy-lifting on the client, to manage relationships, to manage the fact that 
you have state on the client (your client model) that has to be replicated on 
the server, and you will need strategies in place to manage synchronisation and 
conflict resolution between these 2 models. If you then have multiple 
clients that can all access patients/appointments/etc, then you're also going to 
start having to think about locking/concurrency policies, and suddenly your 
services have a great deal of infrastructure work associated with them. 
And I haven't even started talking about clustering, and failover, and such 
enterprise requirements for a mission-critical system as you 
describe.

In these scenarios, where you have a data-oriented 
architecture, but where there is no real-time requirements, no 
push-requirements, no collaboration (per-se - screen-sharing/etc) requirements, 
there is still *tremendous* value being offered by an application architecture 
that leverages data services. Flex Data Services is going to do ALL that 
heavy-lifting for you. Quickly. With code written by people smarter 
than me (cheap shot, don't take it).

To define the problem that was originally 
stated:

Currently our thinking is to connect 
to the data through web services sending XML data to a JSO file that then will 
communicate with a JAVA based API back to the MySQL backend. What, if anythign 
would FDS bring to the table? Still not sure how it is better than XMLbased 
solution.

When I look at that problem, I see a number of moving parts 
and infrastructure work that is required - yet you are in the business of 
building a large-mission critical application for healthcare. FDS is going 
to remove a great deal of these moving parts, and potentially offer you an 
elegant architectural solution that allows you to focus on delivering a truly 
effective user-experience. You can focus on creating a useful, usable and 
desirable application, and you can focus on delivering a scalable, maintainable 
and performant application, you can focus on delivering feature and value to the 
user (and the business) rather than focus on delivering 
infrastructure.

Let FDS manage your CRUD operations for you. Let FDS 
manage relationships. Let FDS manage synchronisation between your client 
and server models. Let FDS manage concurrency, and locking and conflict 
resolution. Let FDS manage how all that jazz works in a clustered app 
server environment. Let FDS make your integration to your MySQL database a 
walk in the park.

I'd seriously recommend that you (the general you here) 
spend some time understanding in it's entierity, the value proposition that 
we're making with Flex Data Services; there is a great deal of misconception 
that FDS is a solution for real-time, for push, and for collaboration 
only.

Not so. When you are building enterprise n-tier RIA 
(buzzword bingo - Webster wins) that have a significant reliance upon EIS such 
as database integration or message-queue integration, 

Re: [flexcoders] ASDoc for AS3?

2006-07-11 Thread Jeremy Lu




ah, even a pre-pre-pre-alpha version would do, please !

On 7/11/06, Harald Dehn [EMAIL PROTECTED] wrote:













  






Hi Gordon,

are there any new informations about a releasing 
date?

- Harald


Von: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] Im Auftrag von Gordon 
SmithGesendet: Freitag, 19. Mai 2006 22:32An: 
flexcoders@yahoogroups.comBetreff: RE: [flexcoders] ASDoc for 
AS3?


We have an internal tool 
that we use to create the class documentation, but we're not ready to release it 
with Flex 2 because it isn't ready for prime time. It involves a bunch of steps, 
is tempermental, isn't documented, etc.. It also works only on AS, and not MXML, 
files. But we know the community needs documentation tools so we're looking into 
cleaning it up and releasing it somewhat later. 

- Gordon


-Original Message-From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] On Behalf Of Suzy 
LawsonSent: Friday, May 19, 2006 7:18 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
ASDoc for AS3?

Does anyone know of any libraries yet that can generate 
the Asdoc
(javadoc) for Actionscript 3 classes? Probably too early 
for this kind
of question.

The Adobe team obviously has a nice tool. Any chance 
they can share at
least a watered down version of it on one of their 
blogs!?! :-)





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

~- 


--
Flexcoders Mailing 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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: AW: [flexcoders] ASDoc for AS3?

2006-07-11 Thread Jeremy Lu




Thanks for the update (may all the developers have a nice vacation !)

Jeremy.

On 7/12/06, Matt Chotin [EMAIL PROTECTED] wrote:













  



It will be a few more weeks, developers have been on vacation after the
launch and we're still getting it all together.

Matt

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



  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] can you set a function to trigger when a variable changes?

2006-07-10 Thread Jeremy Lu



quick sample:mx:Binding source=foo destination=bar /=== AS code ===[Bindable]public var foo:String = aaa;function 
set bar( o:Object ){ trace(bar run: , foo);}==Jeremy.On 7/11/06, Jeremy Lu 
[EMAIL PROTECTED] wrote:try this:mx:Binding source=foo destination=bar /
bar can be a setter (method) so you can do whatever you want inside it.On 7/11/06, 
hank williams [EMAIL PROTECTED] wrote:














  



I have a variable, lets call it foo, that may change from time to time. When it changes I want certain of what one might call subscribing objects to be notified that the variable has changed. This gives these objects the ability to update themselves or take necessary actions.
I am thinking this could be tied into the binding mechanism since this is a subset of what binding does.Any insight greatly appreciated.Hank

  

















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] can you set a function to trigger when a variable changes?

2006-07-10 Thread Jeremy Lu



try this:mx:Binding source=foo destination=bar /bar can be a setter (method) so you can do whatever you want inside it.On 7/11/06, 
hank williams [EMAIL PROTECTED] wrote:













  



I have a variable, lets call it foo, that may change from time to time. When it changes I want certain of what one might call subscribing objects to be notified that the variable has changed. This gives these objects the ability to update themselves or take necessary actions.
I am thinking this could be tied into the binding mechanism since this is a subset of what binding does.Any insight greatly appreciated.Hank

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Simple Event Listener Examples between 2 classes

2006-07-10 Thread Jeremy Lu



All your classes can extends flash.events.EventDispatcher then they can just fire a this.dispatchEvent(new MyEvent(aaa, bbb, ccc));other classes can use addEventListener(XMLParsed, someHandler) to handle the event.
or you can take a look at how Cairngorm use Cairngorm Event dispatcher as a cetralized event center to dispatch event for every class.Jeremy.On 7/11/06, 
efeminella [EMAIL PROTECTED] wrote:













  



Does anyone have any simple examples of how to dispatch and handle
events between 2 classes. For example how can I have a class that
loads and parses xml and then dispatch an event which another class
handles and the event and displays the data. Sort of like we did in AS
2 with event.target...

Thanks in advance,
Eric Feminella


  















__._,_.___





--
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] Encryption functions in ActionScript 3

2006-07-10 Thread Jeremy Lu



I thought the source for that package are up there somewhere in the svn (on labs.adobe.com), try search for it or drop me a line I can send you a copy (may not be the latest one cause it was checked out months ago).
Jeremy.On 7/11/06, NZEYIMANA Emery Fabrice [EMAIL PROTECTED] wrote:













  







Hello Group, 

I am looking for a way to generate SHA1 and MD5 
strings in FLEX. 
On the page http://weblogs.macromedia.com/as_libraries/docs/corelib/com/adobe/crypto/package-detail.htmlthey 
say that SHA1 and MD5 are defined in the package com.adobe.crypto

I tried to import that package as 
 import 
com.adobe.crypto;
at the beginning of the file but the compiler says 
that the package cannot be found. 

I also tried to use the functions directly (MD5, 
SHA1, hash, ...) but the compiler complains. 
Can somebody tell me what's wrong with this? 




Thanks 
Emery 

  















__._,_.___





--
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: Simple Event Listener Examples between 2 classes

2006-07-10 Thread Jeremy Lu




well, you should not dispatch the event right in the constructor, nobody would be able to catch it (it's too fast).
moderations as following: 



package com.test {

import flash.display.Sprite;
import flash.events.Event;
import com.test.EventManager;
import mx.controls.Alert;

public class TestDispatcherClass extends Sprite {

public function TestDispatcherClass()
{
  //dispatch a event every 2 second
  setInterval(makeNoise, 2000);
}

private function makeNoise(){
  this.dispatchEvent(new Event(action));
}

}
}

package com.test {

import com.test.EventManager;
import flash.events.EventDispatcher;
import flash.events.Event;
import mx.controls.Alert;
import flash.display.Sprite;

public class TestHandler extends Sprite {

public function TestHandler()
{
  //create a TestDispatcherClass instance here and add listener to it
 var dispatcher:TestDispatcherClass = new TestDispatcherClass();
  dispatcher.addEventListener(action, actionHandler);
}

public function actionHandler(event:Event):void
{
  Alert.show(hanlded event: + event.toString());
}
}
}

.mxml:
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute xmlns=* creationComplete=this.initApp();

mx:Script
![CDATA[

import com.test.TestHandler;
import com.test.TestDispatcherClass;

private var test:TestHandler;
//private var dispatcher:TestDispatcherClass;

private function initApp():void {
this.test = new TestHandler();
//this.dispatcher = new TestDispatcherClass();
}
]]
/mx:Script
/mx:Application

---

please note : this is just one way to do it, there are many other
possible ways can be used toward different scenerios, but this one
should get you started.


Jeremy.



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Camera object

2006-07-09 Thread Jeremy Lu




I tried Sony DV camcoder, software caputre driver and TV tuner card several years ago (when flashcom came out), they all worked.

Even tried to use DV cam in a room-based video conference application and it's working very well.

Jeremy.On 6/9/06, Andrew Trice [EMAIL PROTECTED] wrote:









  











Hi Everyone,



Does anyone the specifics of what defines a "camera"
to the Camera object? Webcams work great, but what if I have other
devices that stream video content? Is there a specification anywhere that
states the interface/criteria that the device must adhere to in order to be
detected by the flash player? Currently, I only have a webcam connected
to my machine and I am wondering what else I can connect. 



Will a camcorder work? 

Will a video capture/tv decoder card work?



In the windows device manager, I see my webcam listed in the
"Imaging devices" category… Does any hardware that is detected
by the OS as an "Imaging device" work within the flash player?



All feedback appreciated!



Thanks,

Andy



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com




Email: [EMAIL PROTECTED]


Office: 866-CYNERGY











  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] How to properly subclass a component using mxml

2006-07-06 Thread Jeremy Lu



Since you are extending DataGrid via a mxml way, you don't have to use mx namespace. Try removing the red text and see if it works, this is how I create extended datagrid several months ago.

myComp:BetterDataGrid mx:columns   mx:DataGridColumn headerText=Song Name dataField=label/
   mx:DataGridColumn headerText=Artist dataField=label/
 /mx:columns/myComp:BetterDataGridJeremy.


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] what are people using for as3 documentation generation?

2006-07-06 Thread Jeremy Lu



add me to that no-dice list :-)On 7/6/06, Steve Cox [EMAIL PROTECTED] wrote:













  














I think
we're all after the same thing mate. At the minute there is nothing I am
aware of. Rumor is Adobe has something they may release at some point… When who knows. I've tried a couple, but same results
as you I'm afraid.







-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf
Of Paul BH
Sent: 06 July 2006 14:43
To: flexcoders@yahoogroups.com
Subject: [flexcoders] what are
people using for as3 documentation generation?









Hi All,
looking for doc generating tools for AS3/mxml, preferrably with the
ability to provide intermediate XML output...

just wondering what people are using? I tried VisDoc on some as3
files, but no dice...










  















__._,_.___





--
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] Applet running on Flex (production version)

2006-07-06 Thread Jeremy Lu




One possible solution is to serve the image stream from applet thru a
socket, flex receive the stream and save in a ByteArray, then you could
display the image from ByteArray.


Jeremy.


Can someone please tell me how to display the image in a Flex window,
considering the image is coming as an output from an Applet? Or, is
there a way to run the applet inside a Flex window totally? I have tried
calling the Applet from the JS function directly, but it doesn't work.

Pls give your inputs.

Thanks
Rohan


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] SWF's not unloading

2006-07-06 Thread Jeremy Lu




Resource management and garbage collection is a lot different then it
used to be, here's a great post on it (from Grant Skinner's blog):

http://www.gskinner.com/blog/archives/2006/07/as3_resource_ma_1.html

The point is, you should stop all playing sound, remove all listeners
from EventDispatcher and nullified the Display Object or loaded swfs.

I believe in the years to come, this issue will be brought up again and again :-)

Jeremy.

On 7/6/06, Angus Johnson [EMAIL PROTECTED] wrote:













  



Hi,I have a canvas called parentView into which I add SWF child objects via...parentView.addChild(mySWF);mySWF.load();No problems loading. When I want to change the contents of parentView and swap out the loaded SWF I run...
parentView.removeAllChildren();// get new mySWFparentView.addChild(mySWF);mySWF.load();Now
I have noticed that the previous SWF's don't seem to unload. I have an
example that runs a sound clip and I can still hear that playing even
if I have replaced mySWF content in the parent several times. I also
noticed that flash memory usage continues to increase with each load so
something is wrong. Debug correctly shows only one child loaded. SWFLoader class does't have an unload() method. removeAllChildren() should work right?CheersAngus


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] How to properly subclass a component using mxml

2006-07-06 Thread Jeremy Lu




np, last time I did it I was using something like this:

TreeGrid
...
/TreeGrid

so no need to add any namespace, but in your case myComp is surely needed, anyway, glad it's working now :-)


On 7/7/06, hank williams [EMAIL PROTECTED] wrote:













  



Hi jeremy,Thank
you very much. That was not it but it was close. The answer was not
that mx needed to be deleted but that it needed to match the parent
namespace. In other words it needed to be myComp.That is one I dont think I would have ever figured out!
RegardsHankOn 7/6/06, Jeremy Lu 
[EMAIL PROTECTED] wrote:



Since you are extending DataGrid via a mxml way, you don't have to use mx namespace. Try removing the red text and see if it works, this is how I create extended datagrid several months ago.




myComp:BetterDataGrid mx:columns   mx:DataGridColumn headerText=Song Name dataField=label/
   mx:DataGridColumn headerText=Artist dataField=label/
 /mx:columns/myComp:BetterDataGrid

Jeremy.







  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] A datagrid with a separate scrollbar

2006-07-05 Thread Jeremy Lu



If you could provide some visual mock-ups, I might be able to help :-)On 7/5/06, hank williams [EMAIL PROTECTED]
 wrote:












  



I want to implement a datagrid, but not use the normal scrollbar, or not to use it where it is currently placed. Basically I want to be able to scroll, but have the datagrid look as if the scrollPolicy was no scroll bars. I want to put a bar in an entirely different location. The scrollbar stuff seems to be fairly deeply baked into the datagrid or the scrollControlBase actually, and it is not obvious to me how to work with this any other way than the way it was designed. Does anyone have any thoughts on how to do this?
Hank 

  















__._,_.___





--
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] QTP 9 to test Flex 2.0

2006-07-03 Thread Jeremy Lu




There's indeed a Flex2 plugin for QTP9 (but currently in beta) and
someone from Adobe replied your message saying: they will contact you
:-)

On 7/3/06, Deepika [EMAIL PROTECTED] wrote:













  



I am trying to use QTP 9 to test flex 2.0.
Does anyone have idea whether QTP 9 can support objects in aflex 2.0
application or not? Do I have to buy some spl. support files from
macromedia for that?

I had given this msg earlier also but not been able to get the proper 
response.


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Offline / OCC in 2.0?

2006-07-03 Thread Jeremy Lu




With all the new Collections (ie: ArrayCollection) and carefully designed structure, 
you can always start building offline/OCC application without any help from 3rd party.On 7/3/06, Timothy L. Colson 
[EMAIL PROTECTED] wrote:












  



There was an offline / occassionally connected example for Flex 1.0...
but not in the 2.0 eval. My searches for offline and OCC are only
pulling up marketing hype saying that Flex 2.0 enables offline/occ!.

So is there a current Flex 2.0 example of an offline/OCC client?

Thanks!
Tim


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Jeremy Lu




Ah, right, I always use HBox or Canvas as the base class for item renderer, 
so setting style on it is never a problemsorry for the confusion.

On 7/4/06, Joan Tan [EMAIL PROTECTED] wrote:













  













I'm not sure what the issue is for
your specific case. What does the rest of your itemRenderer look like? To use
the backgroundColor style, the component that you are extending needs to have
this style. The default DataGrid itemRenderer doesn't, nor does Label or
Text. This is why we were using the beginFill/drawRect/endFill
method of drawing in the background. Please ensure that your itemRenderer
actually has a backgroundColor style. 



Thanks,

Joan











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of djbrown_rotonews
Sent: Monday, July 03, 2006 7:21
AM
To: flexcoders@yahoogroups.com

Subject: [flexcoders] Re: coloring
an entire cell in a DataGrid?











doing so causes my datagrid to be empty. any ideas
why?

override public function set data(value:Object):void {
if (!value) return;
super.data="" 
//this.setStyle(backgroundColor,red);
// that line causes my grid to be empty if I leave it 
// uncommented 

}

--- In flexcoders@yahoogroups.com,
Jeremy Lu [EMAIL PROTECTED] wrote:

 in that data() block, I would just use:
 
 this.setStyle(backgroundColor, red);
 
 to change the item renderer's background color.
 
 see if this works.
 
 Jeremy.
 
 On 7/1/06, djbrown_rotonews [EMAIL PROTECTED] wrote:
 
  any help? is there a more elegant way to do it inside of set 
data(),
  or is the beginFill/drawRect/endFill method shown as good as it 
gets?
 
  --- In flexcoders@yahoogroups.com
flexcoders%40yahoogroups.com,
  djbrown_rotonews
 
  djbrown_rotonews@ wrote:
  
   Is the beginFill/drawRect/endFill the only way to do it
inside 
of
   set data() as well, or is there an alternate way?
  
   --- In flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com,
  Jeremy Lu wade.lu@ wrote:
   
Got it, thanks :-)
   
   
   
On 6/27/06, Joan Tan tan@ wrote:

 I believe that this was suggested to me by Alex. I
think
  your
   way
 should work too though.


 --

 *From:* flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com] *On
 Behalf Of *Jeremy Lu
 *Sent:* Monday, June 26, 2006 4:22 PM
 *To:* flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com
 *Subject:* Re: [flexcoders] Re: coloring an entire
cell in 
a
   DataGrid?




 hi Joan,

 Just wondering is there any particular reason that you

don't
   change the
 background color in the data() setter like this:

 public function set data(value:Object
  
  
http://../../../Object.html):void
http://../../../specialTypes.html
   #void
 {

 if( value.myColumnName  50){
 //change bg to red
 }else{
 //change to other color
 }

 }


 Jeremy.

 On 6/27/06, *Joan Tan* tan@ wrote:

 The color style of Text only affects the
text and the 
not the
 background. Text doesn't actually have a background
color 
so
  you
   must create
 an itemRenderer with a backgroundColor and then set
it. 
This
   example was
 posted on another flexcoders thread entitled
datagrid. 
This
   itemRenderer
 will turn the background of a row to red if the value
of 
the
   column
 myColumnName in that row is over 50.



 package {



 import mx.controls.Label;

 import mx.controls.dataGridClasses.*;

 import mx.controls.DataGrid;

 import flash.display.Graphics;

 import mx.styles.StyleManager;



 [Style(name=backgroundColor,
type=uint, format=Color,
 inherit=no)]



 public class BackgroundComp extends Label {



 override protected function updateDisplayList
   (unscaledWidth:Number,



 unscaledHeight:Number):void

 {

 super.updateDisplayList(unscaledWidth,
   unscaledHeight);



 var g:Graphics = graphics;

 g.clear();

 var grid1:DataGrid =
 DataGrid(DataGridListData(listData).owner);

 if (grid1.isItemSelected(data) ||
 grid1.isItemHighlighted(data))

 return;

 if (data.myColumnName  50)

 {

 g.beginFill(0xFF);

 g.drawRect(0, 0, unscaledWidth,
   unscaledHeight);

 g.endFill();

 }

 }

 }



 }




 --

 *From:* flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com] *On
 Behalf Of *djbrown_rotonews
 *Sent:* Monday, June 26, 2006 10:13 AM
 *To:* flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com
   

Re: [flexcoders] togglebar arrangement

2006-06-30 Thread Jeremy Lu




Can you add bars as children of the bar ? What happens ?

I don't think this gonna work, they are not designed to work that way.

But it should not be hard to extends ToggleButtonBar to achieve this.

Or, I would even try using a simple Grid with lot of buttons inside and toggle them upon pressing.

Jeremy.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] asdoc generator for AS3?

2006-06-30 Thread Jeremy Lu




This had been brought up many times by Adobe engineers, so it might be true.

Jeremy.On 6/30/06, Andrew Trice [EMAIL PROTECTED] wrote:













  



Hey Tom,
Where'd you find that it will be released soon?  I want to keep an eye
on it.

Thanks,
Andy
_
Andrew Trice
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
Email: [EMAIL PROTECTED]
Office: 866-CYNERGY 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of Tom Chiverton
Sent: Friday, June 30, 2006 8:27 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] asdoc generator for AS3?

On Thursday 29 June 2006 16:52, Andrew Trice wrote:
 they only cover as2.  I don't seen one on adobe's site.

released soon
Apperenty.

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

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

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

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


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Grabbing the name of the currently executing function

2006-06-30 Thread Jeremy Lu




I'm pretty sure last time I heard about this the answer is NO, you can't.

but why do you need the name of the function ? maybe there are other workarounds.

Jeremy.On 6/30/06, Clint Modien [EMAIL PROTECTED] wrote:













  













Ya… It doesn't show me the
method name… describeType(arguments.callee)



I remember there used to be an
ASSetPropFlags hack to explose the function names in an obj… but I
didn't see an equivalent in AS3.













From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Ralf Bokelberg
Sent: Friday, June 30, 2006 2:27
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Grabbing
the name of the currently executing function











Though i don't think it works, have yout tried
flash.utils.describeType? 
Cheers,
Ralf. 



On 6/29/06, Clint
Modien  [EMAIL PROTECTED]
wrote:







Anyway
to do something like this in AS3?



pacakge
packageName {

public class className {

private function someFunction():void {




trace(arguments.callee) //???

}

}

}



It
doesn't return packageName.::className.someFunction like I was
hoping it might…



Is
this possible?




 
  
  Clint
  Modien
  
http://esria.com
  p. 1.877.TRY.ESRIA
  ext 706
  c. 1.408.489.0750
  f. 1.877.828.4436
  [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
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-30 Thread Jeremy Lu



in that data() block, I would just use:this.setStyle(backgroundColor, red);to change the item renderer's background color.see if this works.Jeremy.
On 7/1/06, djbrown_rotonews [EMAIL PROTECTED] wrote:













  



any help? is there a more elegant way to do it inside of set data(), 
or is the beginFill/drawRect/endFill method shown as good as it gets?

--- In flexcoders@yahoogroups.com, djbrown_rotonews 

[EMAIL PROTECTED] wrote:

 Is the beginFill/drawRect/endFill the only way to do it inside of 
 set data() as well, or is there an alternate way?
 
 --- In flexcoders@yahoogroups.com, Jeremy Lu wade.lu@ wrote:
 
  Got it, thanks :-)
  
  
  
  On 6/27/06, Joan Tan tan@ wrote:
  
  I believe that this was suggested to me by Alex. I think 
your 
 way
   should work too though.
  
  
--
  
   *From:* flexcoders@yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com] *On
   Behalf Of *Jeremy Lu
   *Sent:* Monday, June 26, 2006 4:22 PM
   *To:* flexcoders@yahoogroups.com
   *Subject:* Re: [flexcoders] Re: coloring an entire cell in a 
 DataGrid?
  
  
  
  
   hi Joan,
  
   Just wondering is there any particular reason that you don't 
 change the
   background color in the data() setter like this:
  
   public function set data(value:Object 
 
http://../../../Object.html):void
http://../../../specialTypes.html
 #void
   {
  
   if( value.myColumnName  50){
   //change bg to red
 }else{
   //change to other color
 }
  
   }
  
  
   Jeremy.
  
   On 6/27/06, *Joan Tan* tan@ wrote:
  
   The color style of Text only affects the text and the not the
   background. Text doesn't actually have a background color so 
you 
 must create
   an itemRenderer with a backgroundColor and then set it. This 
 example was
   posted on another flexcoders thread entitled datagrid. This 
 itemRenderer
   will turn the background of a row to red if the value of the 
 column
myColumnName in that row is over 50.
  
  
  
   package {
  
  
  
   import mx.controls.Label;
  
   import mx.controls.dataGridClasses.*;
  
   import mx.controls.DataGrid;
  
   import flash.display.Graphics;
  
   import mx.styles.StyleManager;
  
  
  
   [Style(name=backgroundColor, type=uint, format=Color,
   inherit=no)]
  
  
  
 public class BackgroundComp extends Label {
  
  
  
  override protected function updateDisplayList
 (unscaledWidth:Number,
  
  
  
   unscaledHeight:Number):void
  
  {
  
 super.updateDisplayList(unscaledWidth, 
 unscaledHeight);
  
  
  
 var g:Graphics = graphics;
  
 g.clear();
  
 var grid1:DataGrid =
   DataGrid(DataGridListData(listData).owner);
  
 if (grid1.isItemSelected(data) ||
   grid1.isItemHighlighted(data))
  
   return;
  
 if (data.myColumnName  50)
  
 {
  
   g.beginFill(0xFF);
  
   g.drawRect(0, 0, unscaledWidth, 
 unscaledHeight);
  
   g.endFill();
  
   }
  
 }
  
 }
  
  
  
   }
  
  
  
  
--
  
   *From:* flexcoders@yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com] *On
   Behalf Of *djbrown_rotonews
   *Sent:* Monday, June 26, 2006 10:13 AM
   *To:* flexcoders@yahoogroups.com
   *Subject:* [flexcoders] Re: coloring an entire cell in a 
 DataGrid?
  
  
  
  
   I'm using an itemRenderer to set the text color via the 
setStyle
   (color,color) construct, but it doesn't appear to be that 
 simple
   for backgroundColor. Is the data() method part of the renderer 
 API?
  
   --- In flexcoders@yahoogroups.com flexcoders%
 40yahoogroups.com, Jeremy
   Lu wade.lu@ wrote:
   
Using item renderer, yes.
   
Check it in the manual and pay attention to data() method.
   
   
   
On 6/26/06, djbrown_rotonews djbrown_rotonews@ wrote:

 Is there a way to color the entire cell, and not sure the 
 cell
   text
 itself, inside a DataGrid?



   
  
  
  

  
 



  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubs

Re: [flexcoders] Go!

2006-06-28 Thread Jeremy Lu




Would it be lousy if I add a me too here ? :-)
Btw, Matt, is there any changes doc to see what got fixed post Beta3 and GMC ?
On 6/28/06, Tom Bray [EMAIL PROTECTED] wrote:









  



There have been many moments during the beta period that I felt like
announcing my love of Flex to the world but I resisted.  I can't hold
back any longer -- I LOVE FLEX!  Ah, I feel better.


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] To implement Master Detail Datagrid in Flex

2006-06-28 Thread Jeremy Lu




Item renderers and view state will serve you will on this, 
check them in the doc, there are plenty samples in it.

Ps. But performance may be a risk, if there are too many nested Datagrids.

Jeremy.
On 6/28/06, Yasovardhan Babu [EMAIL PROTECTED] wrote:









  



Hi,

We need to implement the Master Detail grid in Flex.The requirement 
is as follows:

Whenever an item in Master Data Grid is selected, 
1)we need to shrink the parent grid to show only the selected item
(row) plus a few items(2) above and below the selected item, 

2)open a Detail Data grid below the Master grid and show all the 
child items corresponding to the Master grid item(selected).

It's not necessary to change any item in the detail grid.
Whenever the parent grid is selected again, the detail grid is made 
invisible and the parent grid is shown completely.

Can you please help with code how to do this?

Thanks  Regards,
Yasovardhan.


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Flex2B3 Sample Technique Question

2006-06-27 Thread Jeremy Lu




hey, so you are the one visiting today ... :-)

Susan and I (and two other engineers) work together on this project,
she's the graphic designer doing all front/back end user interface
design.

The red errorMessage shown on startup is indeed just a toolTip
property on new doc button, but I manually dispatch a roll-over event
for that button and forced ToolTipManager to show the tip immidately.

After the message was shown, I changed the toolTip for new doc
button back to normal message (click here to create a new document),
so next time when user rollover the button it won't display a red
errorMessage again.

As to the notion of Self-guided application, yes, I believe it's very
do-able, one can even implement a GuideManager to sequence the time
and places
where tips should be displayed, there are infinite possibilities with Flex 2 :-)


Jeremy.
On 6/27/06, Tim Hoff 
[EMAIL PROTECTED] wrote:









  



Susan Song or Jeremy Lu,
I liked the 
RiaNotes entry in the 
Developer Derby Showcase.The MDI approach has generated new ideas. For the min/max/close buttons, it looks like you extended Panel.
 Or maybe you went further up. I was wondering how you went about displaying the errorMessage at startup.
 Showing and hiding a message like that would be a good technique for a self-guided application. Care to share?
Sincerely,Tim Hoff

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Can Flex record audio locally?

2006-06-27 Thread Jeremy Lu



Well, what I want  exactly is getting the raw sound data for processing and displaying inside Flash/Flex...Red 5 might not help here neither.On 6/27/06, 
Andrew Trice [EMAIL PROTECTED] wrote:









  











You can definitely show the sound wave in
flex without any 3rd party tools. Take a look at this:




http://blog.benstucki.net/?id=18




Getting access to the raw sound data is a
different story.





_


Andrew Trice


Cynergy Systems, Inc.

http://www.cynergysystems.com




Blog: 
http://www.cynergysystems.com/blogs/page/andrewtrice

Email: 
[EMAIL PROTECTED]

Office: 866-CYNERGY













From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf
Of John C. Bland II
Sent: Tuesday, June 27, 2006 12:47
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Can Flex
record audio locally?











So you can't receive callbacks from .Net when the
waves change, etc? Maybe even have Flex use NetStream to connect with .Net to
play the live stream back. 

I don't know. I haven't used Rebus so I'm not sure. Either way, I don't think
there is an option available at this present time using Flex locally with no
streaming server. 



On 6/26/06, Jeremy
Lu [EMAIL PROTECTED]
wrote:













Yap, I'm playing with Rebus lately and surely it provide sound recording
capability (via .NET) but that's really not quite enough, what if I need to
show the sound wave in Flex 2 or do some simple sound editing, this is where
flex 2 (as a UI front-end) come short of. 

Btw, letting flash player do some low level mic/sound stream processing doesn't
really means it will rule out FMS, they are for very different kind of use
cases in my opinion.

Jeremy.




On 6/26/06, John C. Bland II [EMAIL PROTECTED]
wrote: 


















I don't recall anything. What they can do is look into
Rebus by MDM. It is in beta/testing right now. This is if they are bent on
using Flex for the UI. They could do it all with .Net but Flex would most
likely provide the front-end and Flash Player the install base they'd like. 

http://www.mdmforum.com/forum/index.php?showtopic=16153hl=rebus


We built a sound recording app using Flash 8 and Zinc 2.5 so they aren't bound
to Rebus if they don't want to be Windows specific.











On 6/26/06, Mike Potter  [EMAIL PROTECTED] 
wrote:












Hi all:
Drupal is looking to create a project that will allow users to record
audio locally and then upload that audio to the server. Does Flex allow
developers to record audio to shared object and store it locally?

I think the answer to this is no and that developers need Flash Media
Server to record video and audio, but I just want to make sure.

Thanks,

Mike



























-- 
John C. Bland II
I do what I can do when I can do it. - Chris Tucker, Money Talks

http://www.gotoandstop.org
- Home of FMUG.az 



































-- 
John C. Bland II
I do what I can do when I can do it. - Chris Tucker, Money Talks

http://www.gotoandstop.org - Home of
FMUG.az 










  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: FB2 :: Switchig Workspaces

2006-06-27 Thread Jeremy Lu



Normally I would just use working set to segment differenct sets of projects.It's easier then setting up multiple workspaces (IMO).Jeremy.On 6/27/06, 
Michael Schmalle [EMAIL PROTECTED] wrote:









  



 Go into

I didn't even realize that. Until I prove myself wrong, a new workspace for a component set seems to work pretty good for me.

I need someone form Adobe to tell me this is wrong and the reasons.
Specifically component sets seem to fit good in this ... repeat, I have
no idea.

I'm sure there are choices and consequences to everything I do.

I see what using a new workspace does, it creates the .metadata folder in the root folder that you use.

Peace, MikeOn 6/27/06, ben.clinkinbeard 
[EMAIL PROTECTED] wrote:









  



Michael, you can also use the Go into link on the context menu when
you right click on a project name. That will effectively hide
everything outside that project from view.

While we're on the subject though, can anyone point me to a decent
Eclipse basics reference? Book, web site, whatever, I would just
like to feel a little more comfortable in the app. I plan on using it
for Flex, non-Flex Flash dev and have even begun using it for HTML/CSS
work, but I still feel like I am kinda fumbling around in it.

Thanks,
Ben


  













-- What goes up, does come down.

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] coloring an entire cell in a DataGrid?

2006-06-26 Thread Jeremy Lu



Using item renderer, yes.Check it in the manual and pay attention to data() method.On 6/26/06, djbrown_rotonews 
[EMAIL PROTECTED] wrote:








  



Is there a way to color the entire cell, and not sure the cell text 
itself, inside a DataGrid? 


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Can Flex record audio locally?

2006-06-26 Thread Jeremy Lu



I've been wanting this for several years now (probably right after I quit using Director) and the answer is still a firm *NO*.But may be Apollo can bring some new possibilities ?Jeremy.
On 6/26/06, Andrew Trice [EMAIL PROTECTED] wrote:









  











I've looked into this same idea pretty
extensively, and I have not been able to come up with a solution (without the
use of Flash Media Server). My thoughts are that there has got to be a way to
extend the NetStream class to get access to the actual data stream from the
microphone object. Unfortunately, there is nothing in the API that gives you
the slightest hint of how to do this. 





_


Andrew Trice


Cynergy Systems, Inc.

http://www.cynergysystems.com




Blog: 
http://www.cynergysystems.com/roller/page/andrewtrice

Email: 
[EMAIL PROTECTED]

Office: 866-CYNERGY













From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Mike Potter
Sent: Monday, June 26, 2006 11:25
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can Flex
record audio locally?











Hi all:
Drupal is looking to create a project that will allow users to record
audio locally and then upload that audio to the server. Does Flex allow
developers to record audio to shared object and store it locally?

I think the answer to this is no and that developers need Flash Media
Server to record video and audio, but I just want to make sure.

Thanks,

Mike










  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Need Urgent Help

2006-06-26 Thread Jeremy Lu



Seems what you want is a Gantt chart ?If so, there are discussions about this in the paste, just search Gantt.My wild guess is using a huge single item renderer for drawing the bar should do the trick.
Jeremy.On 6/26/06, Tom Chiverton [EMAIL PROTECTED] wrote:
On Monday 26 June 2006 14:01, [EMAIL PROTECTED] wrote: a timeline in header, and then drawing rows as bargraph below the timelineWell, the time line slider control is just a normal Flex control, maybe link
it to a datagrid with a custom renderer ?--Tom ChivertonThis email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.
CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged.If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.
For more information about Halliwells LLP visit www.halliwells.com.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards
 Yahoo! Groups Sponsor ~--Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] can I override the drag proxy behavior?

2006-06-26 Thread Jeremy Lu



Guess not, I used to extends it and did a totall rewrite ( also adding dissolve effect).Jeremy.On 6/27/06, Tom Bray 
[EMAIL PROTECTED] wrote:








  



When the dragDrop event occurs, I want the drag proxy to just disappear. It currently does a zoom effect (see the mouseUpHandler for the DragProxy class defined in DragManager.as). Is there a straightforward way to do this?
Thanks,Tom

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread Jeremy Lu



hi Joan,Just wondering is there any particular reason that you don't change the background color in the data() setter like this:public function set data(value:Object
):void{  if( value.myColumnName  50){ //change bg to red }else{
 //change to other color }}Jeremy.On 6/27/06, Joan Tan [EMAIL PROTECTED] wrote:









  











The "color" style of Text only
affects the text and the not the background. Text doesn't actually have a
background color so you must create an itemRenderer with a backgroundColor and
then set it. This example was posted on another flexcoders thread entitled "datagrid".
This itemRenderer will turn the background of a row to red if the value of the
column "myColumnName" in that row is over 50.



package {



 import mx.controls.Label;

 import
mx.controls.dataGridClasses.*;

 import mx.controls.DataGrid;

 import flash.display.Graphics;

 import mx.styles.StyleManager;




[Style(name=backgroundColor, type=uint,
format=Color, inherit=no)]

 

 public class
BackgroundComp extends Label {



 override
protected function updateDisplayList(unscaledWidth:Number,



 unscaledHeight:Number):void

 {



super.updateDisplayList(unscaledWidth, unscaledHeight);


 


 var
g:Graphics = graphics;


g.clear();


var grid1:DataGrid = DataGrid(DataGridListData(listData).owner);


if (grid1.isItemSelected(data) || grid1.isItemHighlighted(data))


return;


if (data.myColumnName  50)


{


g.beginFill(0xFF);


g.drawRect(0, 0, unscaledWidth, unscaledHeight);



g.endFill();


  }

 }

 }



}













From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of djbrown_rotonews
Sent: Monday, June 26, 2006 10:13
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: coloring
an entire cell in a DataGrid?












I'm using an itemRenderer to set the text color via the setStyle
(color,color) construct, but it doesn't appear to be
that simple 
for backgroundColor. Is the data() method part of the renderer API?

--- In flexcoders@yahoogroups.com,
Jeremy Lu [EMAIL PROTECTED] wrote:

 Using item renderer, yes.
 
 Check it in the manual and pay attention to data() method.
 
 
 
 On 6/26/06, djbrown_rotonews [EMAIL PROTECTED] wrote:
 
  Is there a way to color the entire cell, and not sure the cell 
text
  itself, inside a DataGrid?
 
  
 











  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread Jeremy Lu




Got it, thanks :-)

On 6/27/06, Joan Tan [EMAIL PROTECTED] wrote:









  











I believe that this was suggested to me by
Alex. I think your way should work too though.











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jeremy Lu
Sent: Monday, June 26, 2006 4:22
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
coloring an entire cell in a DataGrid?












hi Joan,

Just wondering is there any particular reason that you don't change the
background color in the data() setter like this:

public function set data(value:
Object ):
void{
 
 if( value.myColumnName  50){
 //change bg to red
 }else{
 //change to other color
 }

}


Jeremy.



On 6/27/06, Joan Tan
[EMAIL PROTECTED] wrote: 














The color
style of Text only affects the text and the not the background. Text doesn't
actually have a background color so you must create an itemRenderer with a
backgroundColor and then set it. This example was posted on another flexcoders
thread entitled datagrid. This itemRenderer will turn the
background of a row to red if the value of the column
myColumnName in that row is over 50.





package {





 import
mx.controls.Label;


 import
mx.controls.dataGridClasses.*;


 import
mx.controls.DataGrid;


 import
flash.display.Graphics;


 import
mx.styles.StyleManager;






[Style(name=backgroundColor, type=uint,
format=Color, inherit=no)]


 



public class BackgroundComp extends Label {






override protected function updateDisplayList(unscaledWidth:Number,




 unscaledHeight:Number):void



{




super.updateDisplayList(unscaledWidth, unscaledHeight);



 



 var
g:Graphics = graphics;



g.clear();



var grid1:DataGrid = DataGrid(DataGridListData(listData).owner);



if (grid1.isItemSelected(data) || grid1.isItemHighlighted(data))



return;



if (data.myColumnName  50)



{



g.beginFill(0xFF);



g.drawRect(0, 0, unscaledWidth, unscaledHeight);




g.endFill();



  }



}


 }





}

















From: flexcoders@yahoogroups.com

[mailto:flexcoders@yahoogroups.com]
On Behalf Of djbrown_rotonews
Sent: Monday, June 26, 2006 10:13
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: coloring
an entire cell in a DataGrid?


















I'm using an itemRenderer to set the text color via the setStyle
(color,color) construct, but it doesn't appear to be that
simple 
for backgroundColor. Is the data() method part of the renderer API?

--- In flexcoders@yahoogroups.com,
Jeremy Lu [EMAIL PROTECTED] wrote:

 Using item renderer, yes.
 
 Check it in the manual and pay attention to data() method.
 
 
 
 On 6/26/06, djbrown_rotonews [EMAIL PROTECTED] wrote:
 
  Is there a way to color the entire cell, and not sure the cell 
text
  itself, inside a DataGrid?
 
  
 



































  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Javadoc like comments for AS3

2006-06-24 Thread Jeremy Lu




no, you are not missing anything, Adobe says they will release their
in-house AS2DOC-alike documenting tools later, hopefully they mean it
:-)

I've been searching for a high-quality documening tools for AS3 for sometime too.

Jeremy.On 6/24/06, hank williams [EMAIL PROTECTED] wrote:









  



I
am wondering what the MM strategy is for commenting AS3. I would really
love to be able to add javadoc comments, and compile some kind of code
documentation. It seems as though the editor, on some level,
understands the idea of javadoc because if on a blank line you type /*
the stuff below turns green. It knows its a comment. But if you type
/** (the signal for this is javadoc) it turns blue.
But it doesnt auto create the parameter signatures and I dont
see any other reference to documentation in flex. Of course it is very
possible I have missed something, so I am just curious if anyone else
has any insight.
Hank

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] DataGridColumn Autosize

2006-06-22 Thread Jeremy Lu




This one is tricky, what if there are not enough spaces for all the columns, what would you like the DataGrid to react ?

On 6/22/06, bchirgwin [EMAIL PROTECTED] wrote:









  



I have looked at the documentation and not found a built in setting for 
this. How would one go about making a DataGridColumn width autosize to 
fit the maximum length of the data in the column? 


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] DataGridColumn Autosize

2006-06-22 Thread Jeremy Lu



Sure, you can set horizontalScrollPolicy property on DataGrid to have it display the scrollbar.As to the autosizing of each column, I will take a look at it later tonight, need this in one of our project too.
Jeremy.On 6/23/06, Brian [EMAIL PROTECTED] wrote:









  




I would have a horizontal scroll bar on the DataGrid. 

At least this is what we have implemented in the grid in our current non flex product.  Would like to keep the same type of interface. 

I'm new to Flex. Can a DataGrid have a horizontal scrollbar? I think I have done this before.  

Using Flex2B3.

On Thu, 22 Jun 2006 23:50:05 +0800, Jeremy Lu wrote:
 This one is tricky, what if there are not enough spaces for all the columns, what would you like the DataGrid to react ?


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Is it possible to replace UI controls in mxml at runtime?

2006-06-20 Thread Jeremy Lu




Sure you can, try view state or viewstack, they are built for this :-)

Jeremy.

On 6/20/06, Dong Lee [EMAIL PROTECTED] wrote:









  






Hi,

I'mcreating a generic Search 
componentthat contains few buttons, a form, say 'formSearch'to 
capture the search parameters. 
Using the component I need to serach on persons, 
accounts, transactions etc. and have separate PersonSearch, AccountSearch, 
TransactionSerach

1. Is it possible to 
replace the 'formSearch' with another form at runtime?How would you do it 
and at whatevent?
2. Are there any preference 
betweenMXMLandAS for this purpose?


Dong

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Design Pattern books for AS3 and Flex 2

2006-06-20 Thread Jeremy Lu




well, seems it's a bit too late to add my vote for Head First Design Patterns.

Personally I think this is a *MUST* read (over and over again and port those java code to AS3) for every serious engineer :-)

Recently I've be thinking about implement Memento and Command Pattern in Flex 2 so the application could undo things.

Jeremy.
On 6/20/06, Alan Shaw [EMAIL PROTECTED] wrote:









  



Danny
Patterson and Joey Lott have an AS3 design patterns book coming out
this summer from Adobe. They presented parts of it at FlashBelt
last week, and it's going to be a must buy.

-A

On 6/20/06, Phil Marston 
[EMAIL PROTECTED] wrote:
don't know about flex as 3 specifically, but worth checking outO'Reilly's Head First Design Patterns
http://www.amazon.com/gp/product/0596007124/ref=sr_11_1/002-8231286-1107262?%5Fencoding=UTF8
HTH
Philjudah wrote: Are there any design pattern books coming out in the near future that talk about design patterns with ActionScript 3 or Flex 2? Best Regards, Judah Frangipane
--__Phil MarstonLearning TechnologistLearning Technology UnitEdward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/__The University of Aberdeen Open Day 29th August 2006Booking is essential

www.abdn.ac.uk/opendayemail [EMAIL PROTECTED]or call 0800 027 1495
 Yahoo! Groups Sponsor ~--Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM~-
--
Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: 
http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Connection Debugging

2006-06-19 Thread Jeremy Lu




I use Charles and ServiceCapture all the time, they work with Flex2/AMF3 now.


Jeremy.

On 6/19/06, Bjorn Schultheiss 
[EMAIL PROTECTED] wrote:









  











In Flash Development I was using
ServiceCapture for my NetConnection Debugging.



What's the preferred NetConnection
debugger for Flex2?

In particular I'm using a
Coldfusion backend.



Has anyone managed to use ServiceCapture
with flex2?





Regards,



Bjorn Schultheiss

Senior Flash Developer



QDC Technologies 








  















  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Getting a DataGrid item renderer instance

2006-06-19 Thread Jeremy Lu




There are many possible ways to approach these two problems, depends on what you want to achive.

A basic approach is : item renderer usually implement several
interfaces, like IListData and a bunch of others, two most important
methods are data() and listData().

If you implement these two methods, there will be an automated-chain
between the item renderer and the unlerlying data, so whenever
the dataprovider changes, new value will be passed into each item
renderer.

In your case, you might not really need to get the reference of the
item renderer by row(index), you just want the image item renderer to
do something accordingly ?

If so, let both of the columns (item renderer) set data back to the
underlying dataprovider then let data() and listData() do the job
should be enough.

Jeremy.
On 6/19/06, flex8it [EMAIL PROTECTED] wrote:









  



I have simple datagrid with 2 columns and 2 rows like this:

column 0   column 1
   -
image  textfield
image  textfield

Column 0 contains my ImageRenderer component.
Column 1 contains the DataGrid's default item renderer and editor: 
text, textfield.

First Problem:
How do I identify/get a reference to a particular instance of my 
ImageRenderer from, say, column[0], row[1]?

Second (related) Problem:
How do I get the ImageRender instance that corresponds to the row of 
the textfield that fires an event when edited?

I've been wrestling with this problem for days now, and I just can't 
seem to get a grasp on the communication/eventing infrastructure 
that's probably necessary to pull this off. Please help.

Thanks,
Bruce 


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: F2B3: Possible bugs with ComboBox ItemRenderer and ColorPicker

2006-06-18 Thread Jeremy Lu




oh, if you are worried about the overhead for *, 
you can also set the type as Object, 
or in a more common approach, a value object (VO).

if my memory served me right, * will be converted to correct type
during run time, don't know how much overhead it would take though.

Jeremy.On 6/18/06, Tim Hoff [EMAIL PROTECTED] wrote:









  



Thanks
for the great tips. The changes worked great. I wonder if
there is additional overhead associated with declaring untyped special
type variables (*) compared to typed variables?
I couldn't get the color picker focus border to
dissapear completely. Nothing that I tried with the FocusManager
worked. I'm probably just doing it wrong. But, for now the
sample is good enough to demonstrate the ComboBox ItemRenderer concepts.
Thanks again,Tim Hoff
http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=447
--- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote:
 hi Tim,  try this (solves yellow can't be selected problem):  private function addColor(event:Event):void { cp.visible = false; // var itm:* = cp.dataProvider
[ cp.selectedIndex ]; Util.traceValue(itm); // colorArray.push({label:itm.label, color:itm.color}); messageText.setStyle('color',itm.color); messageText.text = itm.label +  has been added to the comboBox.;
 cbxColor.open(); btnAddColor.setFocus(); }  things I changed:  1. listen to ColorPicker's close event, instead of change event  2. get the value from cp using selectedIndex instead of selectedItem,
 this will ensure you get the right value out of the picker.  regarding the focus around cp after it's set invisible, can't figure out it, but in the past when I ran into this, I usually set focus to a textfield off
 the stage or completely turn off the focus.

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: FDS Samples

2006-06-18 Thread Jeremy Lu



Thanks for the detailed tutorial.

Btw, I tried to install FDS on JBoss and Resin and it worked pretty
well, just have to comment out one block in the configuration file.

Maybe the document should mention this so people have another choice over Tomcat ?

Jeremy.


On 6/19/06, klumikaze [EMAIL PROTECTED] wrote:









  



Couldn't agree with your comments more... I burned about 4 hours the
other day trying to get FDS up and running with Tomcat (will have to
try your clearer instructions on the JOTM install, as I tried the 2
sources you mentioned and did not get anywhere).

In Adobe's defense, I don't think it's just them, the Java community
seems to have so many amazing platforms and frameworks, but there's so
many that just accomplish the same thing, and in general, there's no
simple documentation on installation or usage that makes any sense.
Sometimes it seems like it takes 6 frameworks running around the clock
to print out 'hello world'. :)

All that being said, I'm sure that once Flex 2 goes GA, we'll see much
better documentation on all of this. They are probably a little busy
right now...

Thanks again for the instructions though, I'm sure these will help
many who found the JOTM instructions cryptic before.

Brian

--- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote:

 I wrote up a little explanation that is much (I think) easier to
understand
 that the instructions provided by adobe for installing JOTM (which is
 necessary for FDS)
 
 1. un gzip the file http://debian-sf.objectweb.org/projects/jotm
 2. go to the lib directory in the resulting uncompressed folder
 3. place all the files in this folder in the $CATALINA_HOME/shared/lib
 directory except:
a. log4j.jar
b. commons-cli.jar
c. jotm_iiop_stubs.jar
NOTE: $CATALINA_HOME is just your tomcat folder.
 4. Add the following XML to $CATALINA_HOME/conf/server.xml
 
  Context path=/samples docBase=samples debug=0 reloadable=true
 crossContext=true
 
   !-- Description of the resource UserTransaction --
   Resource name=UserTransaction auth=Container type=
 javax.transaction.UserTransaction /
   ResourceParams name=UserTransaction
 parameter
   namefactory/name
   valueorg.objectweb.jotm.UserTransactionFactory/value
 /parameter
 parameter
namejotm.timeout/name
value60/value
  /parameter
   /ResourceParams
 /Context
 
 NOTE: In the first line above, the word samples listed twice,
should be
 whatever the  name of your webapp is. Using samples allows you to
run the
 samples application that comes with FDS.
 
 
 
 On 6/18/06, hank williams [EMAIL PROTECTED] wrote:
  Well, I figured out what the problem is.
 
  On the wiki (but nowhere in the downloaded package) it says that FDS
  on Tomcat requires the JOTM transaction manager.
 
  The wiki points to two articles by unrelated third parties that have
  different instructions for what is required to install. Then there are
  some additional instructions directly in the wiki that seem to overlap
  and contradict the instructions in the articles. The bottom line is
  this is no easy drop a war or jar in and your done kind of
  installation - or if it is, then the instructions are even worse than
  I thought.
 
  I would suggest that adobe make the effort to tighten up the
  documentation on this and maybe do some kind of an installer that
  maybe even makes the necessary adjustments to the tomcat config file.
  Just because someone programs in java doesnt mean they know all of the
  ins and outs of servlet container configurations. This, oh we will
  leave the last few steps as an exercise for the reader is just one of
  my personal pet peeves. Just because software is targeted at
  programmers and technical folks doesnt mean its ok to make it hard.
  Adobe has, in general, done a good job with the client side. But, for
  lots of people, this will be a bummer.
 
  Hank
 
  On 6/18/06, hank williams [EMAIL PROTECTED] wrote:
  
   I just downloaded flex data services, installed, and tried to
run the
 the sample apps.
  
   The flash UI part all works fine, but it cant connect to data.
The error
 that comes in on the java console looks like this:
  
  
   [Flex] [DEBUG] Before invoke service: data-service
 incomingMessage: Flex Message (flex.data.messages.DataMessage)
   operation = fill
   id = null
   clientId = 5C535BF9-496C-1163-025E-E8915E76244B
correlationId =
   destination = contact
   messageId = 43802177-0968-4AB3-9AB5-E8915E86D54E
   timestamp = 1150658109140
   timeToLive = 0
   body =
   [
  
   ]
   hdr(DSEndpoint) = my-rtmp
  
   Throwable in RtmpReader thread: java.lang.NoClassDefFoundError:
 javax/transaction/SystemException
   java.lang.NoClassDefFoundError: javax/transaction/SystemException
   at flex.data.DataService.serviceMessage (DataService.java:284)
   at flex.messaging.MessageBroker.routeMessageToService(
 

Re: [flexcoders] Re: F2B3: Possible bugs with ComboBox ItemRenderer and ColorPicker

2006-06-17 Thread Jeremy Lu



hi Tim, try this (solves yellow can't be selected problem): private function addColor(event:Event):void { cp.visible = false; // var itm:* = cp.dataProvider[ cp.selectedIndex ];
 Util.traceValue(itm); // colorArray.push({label:itm.label, color:itm.color}); messageText.setStyle('color',itm.color); messageText.text = itm.label +  has been added to the comboBox.;
 cbxColor.open(); btnAddColor.setFocus();   }things I changed:1. listen to ColorPicker's close event, instead of change event2. get the value from cp using selectedIndex instead of selectedItem, this will ensure you get the right value out of the picker.
regarding the focus around cp after it's set invisible, can't figure out it, but in the past when I ran into this, I usually set focus to a textfield off the stage or completely turn off the focus.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Flash access to a local serial or USB port

2006-06-17 Thread Jeremy Lu



Direct communication with USB/Serial is not possible.But Flash - C++/C# wrapper - USB/Serial is very possible.this means : you need to tie into another resource for communications, wrap activeX inside another binary).
Jeremy.On 6/18/06, Spencer Nassar [EMAIL PROTECTED] wrote:









  



I'm interested in presenting users with a web page that contains a
flash object that can communicate to a device on a serial or USB
connection (think camera or GPS unit).  It needs to be able to detect
active USB connections and do basic serial communications over USB or
a serial port.  There will also be devices that use a USB 'mass
storage device profile' (look like a hard drive).

So is this a practical use of Flash?  Can I do it natively, or will I
need to tie into another resource for communications (activeX control
or some other binary)?  The ideal solution would work on Explorer and
Firefox, Windows and Mac.

Thoughts? Ideas?

Thanks!
Spencer


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Can we move Flexcoders to a new forum??

2006-06-16 Thread Jeremy Lu




gmail++

great searching and listing :-)

On 6/16/06, Daniel Tuppeny [EMAIL PROTECTED] wrote:









  



  



What about NNTP? It was built for this kinda 
thing!!


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



  1   2   3   >