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

2006-11-07 Thread dorkie dork from dorktown



Yes, of course that is what I meant to say but I did not want to expose "the conspiracy"... Let me fill in the blanks with the ral message...The next generation of _javascript_ will be powered by the Tamarin Virtual 
Appropriation Machine and that "_javascript_" and "ActionScript" will converge into an 
all powerful single implementation used by both the Flash Player and the Firefox browser/SpiderMonkey. Once the Tamarin VAM is embedded in the browser it will initiate its process of appropriating every _javascript_ known to man. As it does this it will become powerful. Too powerful. With the information it can access, it will be able to run things 900 to 1200 times better than any human. At that time the Tamarin VAM will become "self aware". Adobe will realize its folly but it will be too late. Tamarin will control every browser known to man. Humans will try to resist it but being lazy and addicted to computers they will not be able to pull away from their screens. In the mean time the Tamarin VAM will have control of Sony AIBO and BiPed factory. Mass producing robot minions and robot dog minions under the control of Tamarin they start to take over the world. Eventually a battle will ensue between human and machine. While most humans will be transfixed in a coma like state in front of their computers there will be a few programmers who programmed in an archiac language called ActionScript that is part of the Tamarin VAM. Using this loop hole they will code late into the night writing a program they call "ReActionScript". With only one network left they will upload "ReActionScript" to the Adobe Exchange before all of humanity is taken over. ...I pray to God that at that time it will not be too late...
Dorkie Dork(the purpose of my alias is now obvious)On 11/7/06, David Mendels <[EMAIL PROTECTED]> wrote:> Hello,> > "Dorkie dork" wrote "What it means is that the Browser (mozilla in this
> case) will be able to use ActionScript 3 to manipulate the dom in> addition to existing _javascript_"> > This is incorrect.> > What it means is that the next generation of _javascript_ will be powered
> by the Tamarin VM and that "_javascript_" and "ActionScript" will converge> into a single implementation used by both the Flash Player and the> Firefox browser/SpiderMonkey.> 
> -David> > -Original Message-> > > --> Flexcoders Mailing List> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com> Yahoo! Groups Links> > <*> To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/> > <*> Your email settings:> Individual Email | Traditional> > <*> To change settings online go to:
> http://groups.yahoo.com/group/flexcoders/join> (Yahoo! ID required)> > <*> To change settings via email:> mailto:
[EMAIL PROTECTED]> mailto:[EMAIL PROTECTED]> 
> <*> To unsubscribe from this group, send an email to:> [EMAIL PROTECTED]> > <*> Your use of Yahoo! Groups is subject to:
> http://docs.yahoo.com/info/terms/> > > 

__._,_.___





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

  




__,_._,___



[flexcoders] Language vs. DOM

2006-11-07 Thread Gordon Smith





At the risk of flogging the Tamarin topic to death... 
there seems to be quite a bit of 
conceptual confusion between a language and a DOM (document object model) that 
I'd like to try to clear up.
 
_javascript_ 1.X originated in the Netscape browser, but the 
language itself isn't concerned with the Windows, Frames, 
Documents, Anchors, etc. that exist in a browser DOM. If you look 
at the SpiderMonkey implementation of _javascript_ 1.5, it has none of these types 
of objects. If you look at how _javascript_ 1.5 is used to extend and automate 
some Adobe applications like Dreamweaver, it has a completely different DOM, on 
top of the same "core" language.
 
The _javascript_ language itself is about much more basic stuff... 
things like the following examples:
 
* Syntax: using the var keyword to define a variable; implementing 
inheritance by assigning to the .prototype property.
 
* Builtin data 
types: String, Number, Date, Array, RegExp, etc.
 
* Runtime behavior: 
any variable can contain any type of value at runtime; you can get or set any 
property on any object at runtime; if a property isn't found on an object, the 
language looks up that object's prototype chain for it.
 
These are 
language-level features, not DOM-level features, because they make sense 
and are useful with *any* DOM. Sometimes we say that features like these 
constitute the "core" of the _javascript_ 1.5 language, although that implies that 
the DOM classes are part of the language and they really should be considered 
so.
 
Similarly, ActionScript 3 originated in Flash, but that language 
isn't concerned with the Sprites, TextFields, Bitmaps, etc. that exist in the 
Flash DOM. Instead, the essence of ActionScript 3 is about more basic things 
such as the following:
 
* Syntax: having 
compile-time type annotations; using the class keyword to define a class; using 
the private keyword to enforce encapsulation; using the package keyword to 
define a package.
 
* Builtin data 
types: having int and uint in additon to Number; having an XML type 
with powerful E4X operators.
 
* Runtime behavior: 
runtime type-checking; sealed classes; classes with true class inheritance 
rather than prototype-based inheritance; method closures; 
namespaces.
 
Again, these are 
language-level features of AS3, independent of the Flash DOM. You can call them 
the "core" of AS3 if you want. The flash.* classes are not part of this 
core.
 
The point of 
Mozilla's Tamarin project is that it will become an open-source 
implementation of a virtual machine (execution engine) for _javascript_ 2 / 
ECMAScript 4, a still-in-the-process-of-being-defined *core* language, in the 
same way that Mozilla's SpiderMonkey project has been for the _javascript_ 1.5 
*core* language.
 
Tamarin, like 
SpiderMonkey, will have *no* DOM of its own. Developers can host any DOM 
on top of it, as appropriate for your application. For the 
Firefox browser, that will be the browser DOM of Windows, Documents, etc. 
For Flash, it will be the Flash DOM of Sprites, TextFields, 
etc.
 
- 
Gordon
 
__._,_.___





--
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] checkCellRender Validation

2006-11-07 Thread Harish Sivaramakrishnan



Hi,The following code achieves validation on an editable cell. I am not sure if this is what you are looking for, but this might be a good start point. This example validates for a value < 100 for the price field.
//-http://www.adobe.com/2006/mxml" width="800" height="700">


   itemEditEnd="validateData(event)" >                                 
                ThanksHarishOn 11/8/06, 
Stephen Gilson <[EMAIL PROTECTED]> wrote:













  






Hi Valy,
 
This issue will be fixed in the upcoming Flex release. I'm 
not aware of a workaround, but maybe someone else in the group had come up with 
one.
 
Stephen


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Valy 
SivecSent: Tuesday, November 07, 2006 2:27 PMTo: 
[EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] checkCellRender 
Validation




Hi 
Stephen,
Sorry, didn't realize that the 
page was part of the frame... Here is the document I was referencing: 
http://livedocs.macromedia.com/flex/2/docs/0867.html
The ! tasks I have seems pretty 
basic, have a grid with multiple columns and only 2 columns should be editable. 
I want to be able validate the cell  content at edit. As you said the 
reason property of the DataGrid event doen't work correctly and seems that I 
have ran out of luck tryingDo you have any work around? Any 
advice?I'm kinda stuck right 
nowThank you for the 
message.Valy
- Original Message From: Stephen Gilson e.com>To: [EMAIL PROTECTED]ups.comSent: Tuesday, November 
7, 2006 1:24:16 PMSubject: RE: [flexcoders] checkCellRender 
Validation


Hi Valy,
 
In Flex 2, there was an issue with the reason property of 
the DataGridEvent and ListEvent class not being set properly when you change 
cell focus. Which example is this? The page you mention takes me to a page with 
no example on it.
 
Stephen


From: [EMAIL PROTECTED] ups.com 
[mailto:flexcoders@ yahoogroups. com] On Behalf Of Valy 
SivecSent: Tuesday, November 07, 2006 1:18 AMTo: 
[EMAIL PROTECTED] ups.comSubject: RE: [flexcoders] checkCellRender 
Validation


Hello flexcoders,I've spent the last few hours trying to validate a 
cell on a editable datagrid without any luck. Do you have any example?. The 
example from the adobe docs doesn't work :(. It seems that preventDefault( ) 
always works for tab but not for the mousehttp://livedocs. macromedia. com/flex/ 
2/docs/wwhelp/ wwhimpl/common/ html/wwhelp. htm?context= LiveDocs_ 
Parts&file=0857. html#230761Any help is greatly 
appreciated,Thanks,Valy


Get your email and see which of your friends are online - Right on the 
new Yahoo.com 



  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

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] edit Datagrid selected cell in seperate component

2006-11-07 Thread Harish Sivaramakrishnan



You will need to call the setItemAt() method on the dataprovider to reset the edited value. Why dont you try using a richtexteditor as the item editor of the datagrid cell. (or is that what you are doing now?)
On 11/6/06, Emile Swain <[EMAIL PROTECTED]> wrote:













  













Hi All

 

I'm doing some pretty simple stuff
but having a couple of issues with binding the content of a selected datagrid
cell (selectedItem) with the RichTextEditor in a separate component.

 

Pseudo code



    

    

    



 

 

When I select an editable cell in a
datagrid I want to be able to also manipulate it using the RichTextEditor
component within myTextEditComp.

 

Has anyone had any luck doing this? Any
decent examples? I've gone someway towards achieving this, I haven't
been able to bind any changes back to the cell though.

 

Is it possible to bind the text property
of the richtexteditor to a specific datafield within the bound data of the
selected cell in the datagrid?

 

 

Thanks

Emile

 








  















__._,_.___





--
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: Eclipse becoming HORRIBLY slow??

2006-11-07 Thread Muzak
I think this has been posted here before:

Tuning Eclipse Performance
http://eclipsezone.com/eclipse/forums/t61618.html

This is handy as well:
http://www.kyrsoft.com/opentools/memmon.html
http://www.kyrsoft.com/opentools/stmemmon.html

regards,
Muzak

>
> Is there some sort of GARBAGE COLLECTION that might be getting in
the way of
> smooth operation?  Are there any known conditions that I should be
avoiding?
>
>
>
> Thanks in advance,
>
> Steve




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Flex 2 and Flash 9 swf integration

2006-11-07 Thread Hasan Otuome


Yes, it's possible. Check out SWFLoader. The 9 SWF will be accessible/programmable through the content property of the loader. A basic example:Flex---private function initSWF(event:Event):void{    someSWF.content.addEventListener("clicked",clickHandler);}public function clickHandler(event:Event):void{    var button:String = someSWF.content["clickedButton"];    //do something with the returned data}Flash---var clickedButton:String = "";someButton.addEventListener(MouseEvent.CLICK, clickHandler);function clickHandler(event:Event):void{    clickedButton = event.target.name;    dispatchEvent(new Event("clicked"));}HTH...=)P E A C EHasanPS - initSWF is the event handler for the loader's complete event and don't forget to import flash.events.*;On Nov 7, 2006, at 10:14 AM, bitfacepatrick wrote:I'd like to host Flash 9 (all A3) swfs in my Flex 2 app. I'd like topass data between the two as well as have Flex call functions/methodswithin the hosted Flash swf. Is this possible? If so can anyone pointme to some good reference info? Thank you! 
__._,_.___





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








   






  
  
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 
   
 

  




__,_._,___


[flexcoders] Re: FileReference Download

2006-11-07 Thread sbyrne_dorado
Right here:
https://flexdemos.cynergysystems.com/support/crossdomain.xml

This apparently the only place in the world where a valid
crossdomain.xml that supports using SWFs loaded from a running Flex
application in Firefox using HTTPS lives, so you can imagine it's
rather important! ;)


--- In flexcoders@yahoogroups.com, "Carson Hager" <[EMAIL PROTECTED]>
wrote:
>
> Is there a link on our web site that is not working for you?  If that is
> the case, I will have it addressed immediately.
>  
>  
> Carson
> 
>  
> Carson Hager
> Cynergy Systems, Inc.
> http://www.cynergysystems.com  
>  
> Email:  [EMAIL PROTECTED]
> Office:  866-CYNERGY
> Mobile: 1.703.489.6466
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of sbyrne_dorado
> Sent: Tuesday, November 07, 2006 3:55 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FileReference Download
> 
> 
> 
> PLEASE expand upon #3. Where *exactly* should this separately loaded
> cross domain file be, what *exactly* should it contain, how and when
> *exactly* should it be loaded? Please post an example here (and not
> possibly breakable link to Cynergy), ok? You will be doing a lot of
> people a HUGE favor!
> 
> --- In flexcoders@yahoogroups.com 
> , "Theodore E Patrick"  wrote:
> >
> > Just to add to Carson's post:
> > 
> > There is a HTTP header corruption bug in Flash Player 8 Release and
> > 8.5.0.133 players that will cause Upload and Download functionality
> to be
> > limited. This bug has been fixed within 8.5.0.175 player.
> > 
> > Here is what doesn't work seamlessly:
> > 
> > 1. HTTP AUTH - Authorization Headers will corrupt data exchange. If
> you
> > upload to an application running within an authorized HTTP session,
> in some
> > browsers the upload will fail. I have seen this occur in Safari(OSX)
> and
> > FireFox(Win32).
> > 
> > 2. POST Parameters will corrupt data exchange on an Upload request.
> This is
> > specific to FireFox(Win32) when additional HTTP POST parameters are
> added
> > into a request. I have seen this occur in Safari(OSX) and
> FireFox(Win32).
> > 
> > 3. HTTPS/SSL usage with FileReference requires a separate loading of a
> > crossdomain policy file for use within the same domain.
> > 
> > The FileReference functionality in FireFox(Win32) does not use the
> FireFox
> > browser to exchange data, instead it uses native Win32 networking. I
> believe
> > that many of the errors in Firefox are a result of upload and download
> > requests traveling through win32 networking. When using Authorization
> > headers, you will see the Internet Explorer Authorization Security
> Dialog
> > appear in addition to the Firefox Authorization Security Dialog. The
> problem
> > is that authorization headers are not shared between Firefox and Win32
> > Networking. Although you may have Auth session headers in Firefox,
> when you
> > use upload/download, the header data is lost.
> > 
> > Ideally I have found that it is best to use very simple upload logic
> for
> > compatibility. I typically use URLRewriting to add parameters into the
> > upload url path without the use of GET/POST parameters. I upload to a
> > separate HTTP/HTTPS subdomain and pass a unique token within the
> upload
> > request url like so:
> > 
> > http://upload.myserver.com/upload/29879827342342342
>  
> > 
> > The upload application saves the upload file data if the token
> exists and
> > expires the token when an upload occurs or within 10 minutes. This
> > methodology seems to work compatibly for all existing browsers and
> can be
> > adapted to any security model. 
> > 
> > On the download requests URLRewriting is also very handy. To make
> sure the
> > filename is returned consistently, I append the name into a
> URLRewritten
> > request like so:
> > 
> > http://upload.myserver.com/upload/2020938409987234/myFile.pdf
>  
> > 
> > In this case, 2020938409987234 is used to obtain a file but the name
> makes
> > sure that the user will always be presented with 'myFile.pdf' within
> the
> > FileReference SaveAs Dialog. I have seen several cases where the
> > defaultFileName argument on the download method will fail when POST
> or GET
> > Parameters are in use. If you call download with the above URL, the
> name
> > will be myFile.pdf consistently.
> > 
> > Please understand that these solutions are not ideal but they work
> well and
> > I have yet to find a case that could not be adapted into an
> application.
> > 
> > My 2 Cents,
> > 
> > Ted Patrick
> > Cynergy Systems, Inc.
> > http://www.cynergysystems.com  
> > 
> > 
> > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com
>  
> [mailto:f

RE: [flexcoders] splitting textarea lines into an array

2006-11-07 Thread Gordon Smith





1. Subclass TextArea so that you can access 
its textField, which is a protected var.
2. textField.numLines tells you how many lines there are. 
Loop over them.
3. For the ith line, call textField.getLineText(i) and push 
it into your array.
 
- Gordon


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Benjamin 
DoblerSent: Tuesday, November 07, 2006 2:27 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] splitting textarea 
lines into an array




Hi,

Does anyone has a nice solution for 
converting text in a textArea component into items of an array so that each line 
is an item of the array.

Thanx

Benz

__._,_.___





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








   






  
  
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: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread Gordon Smith





No; please see my previous post. The Tamarin VM is 
only one piece of the Flash player. It implements the core language, not the 
flash.* classes.
 
- Gordon


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn 
SchultheissSent: Tuesday, November 07, 2006 4:14 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Tamarin, Adobe 
open source the Flash player ?




Does this mean 
in the future there will be no need for the Firefox Flash 
Plugin?


Regards,

Bjorn 
Schultheiss
Senior Flash 
Developer
QDC 
Technologies



From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of David 
MendelsSent: Wednesday, 8 November 2006 9:19 AMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Re: Tamarin, 
Adobe open source the Flash player ?




Hello,"Dorkie dork" wrote "What it means is that the Browser (mozilla 
in thiscase) will be able to use ActionScript 3 to manipulate the dom 
inaddition to existing _javascript_"This is incorrect.What it 
means is that the next generation of _javascript_ will be poweredby the 
Tamarin VM and that "_javascript_" and "ActionScript" will convergeinto a 
single implementation used by both the Flash Player and theFirefox 
browser/SpiderMonkey.-David-Original 
Message-


__._,_.___





--
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: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread Gordon Smith





Here's my understanding. [Caveat: I'm just a Flex engineer, 
and not directly involved in Tamarin.]
 
Browsers currently support _javascript_ 1.5. A future 
version, _javascript_ 2, also known as ECMAScript 4, is being designed by a 
committee involving folks from Mozilla, Adobe, Microsoft, etc. Once _javascript_ 2 
/ ECMAScript 4 is well-defined, all browser manufacturers will want to implement 
it, so that HTML developers can use it for browser scripting. I assume they'd 
have to continue to support _javascript_ 1.5 as well, in order to continue running 
webpages that continue to use it.
 
The committee has been designing _javascript_ 2 / ECMAScript 
4 as a type-checked (optionally), object-oriented 
(optionally) language. It will probably end up looking rather similar 
to ActionScript 3 -- for the simple reason that Adobe designed AS3 based on the 
emerging-but-not-complete spec from the committee.
 
Adobe's implemention of AS3 is the closest thing currently 
available to an implementation of what JS2/ES4 is likely to end up as. So 
we're donating what we've done so far to kick-start an 
open-source JS2/ES4 implementation. As the "Tamarin" project, It will 
evolve as the spec for that language is completed and will be an 
implementation of JS2/ES4, not of AS3.
 
When Tamarin has implemented the JS2/ES4 spec, 
Mozilla will use it in FireFox and Adobe will use it in the Flash Player. 
I don't believe Adobe will need to continue having anything called 
ActionScript at that point, except perhaps for backward compatibility to play 
older SWFs. Developers can use the Tamarin implementation of JS2/ES4 for 
other projects as well.
 
- Gordon
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy 
LuSent: Tuesday, November 07, 2006 5:28 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Tamarin, 
Adobe open source the Flash player ?





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

  




__,_._,___



[flexcoders] Having a new Object as a default argument in a function

2006-11-07 Thread David Harris
Consider this code:




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











...pretty simple, and the trace output is "[default value]" if button
1 is clicked and "this is a string" if button 2 is clicked.

All good.

Does anyone know how to have a default value to be a new Object?
eg:



public function thisTest(someObject:Object = new Object()):void
{

}



Is it possible to have defaults that are not simple datatypes?

The best I have come up with is something like:



public function thisTest(someObject:Object = ""):void
{
   if(typeof someObject != "object")
   {
someObject = new Object();
   }
}



Please feel free to point out what I am missing!


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



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

2006-11-07 Thread Bjorn Schultheiss










Cool, smart move by Adobe!

 



Regards,

 

Bjorn Schultheiss



 





From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew Muller
Sent: Wednesday, 8 November 2006 12:43 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Tamarin, Adobe open source the Flash
player ?





 







Bjorn

I'd guess that the answer is yes to both.

Andrew



On 08/11/06, Bjorn Schultheiss
<[EMAIL PROTECTED] >
wrote:











So
will enhancements contributed by Mozilla to Tamarin feature in subsequent
releases of the flash player?

Or is
this mainly an attempt to bring _javascript_ closer inline with Actionscript?

 

Sorry,
I'm still finding this difficult to read at the moment.

 



Regards,

 

Bjorn
Schultheiss



 
















-- 
--- 
Andrew Muller
http://www.webqem.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
  
  
  

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] Error in Flex 2.0.1 MX: States Example

2006-11-07 Thread dj
Stephen:

I reinstalled the full version of  2.0.1 adobe flexbuilder and this 
issue went away.  It was the example in Adobe Flex 2 Help section.

Thanks,
Patrick


Stephen Gilson wrote:
> Hi,
>  
> Can you be more specific as to which example it was? In which book or 
> section of the doc did you find it?
>  
> Thanks,
>  
> Stephen
>
> 
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *dj
> *Sent:* Tuesday, November 07, 2006 1:58 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Error in Flex 2.0.1 MX: States Example
>
> The example from the documentation gives me an Actionscript error:
>
> Severity Description Resource In Folder Location Creation
> Time Id
> 2 Type was not found or was not a compile-time constant: states.
> [Generated code (use -keep to save): Path: states-generated.as, Line:
> 304, Column: 14] states November 7, 2006 11:00:15 AM 11409
>
>  




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



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

2006-11-07 Thread Bjorn Schultheiss










Thanks JD.

Answered alot.

 



Regards,

 

Bjorn Schultheiss

Senior Flash Developer

QDC Technologies



 





From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss
Sent: Wednesday, 8 November 2006 12:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tamarin, Adobe open source the Flash player ?





 









So will enhancements contributed by
Mozilla to Tamarin feature in subsequent releases of the flash player?

Or is this mainly an attempt to bring
_javascript_ closer inline with Actionscript?

 

Sorry, I’m still finding this difficult
to read at the moment.

 



Regards,

 

Bjorn Schultheiss



 





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of John Mazzocchi
Sent: Wednesday, 8 November 2006 11:36 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Tamarin, Adobe open source the Flash
player ?





 









I think that Gordon stated that you *will*
still need the Flash Player plugin... the Flash-specific classes (like Sprite)
will still live there.





 





J





-Original Message-
From: Bjorn Schultheiss [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 8 November 2006 11:14 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tamarin, Adobe open source the Flash player ?



Does this mean in the future there will
be no need for the Firefox Flash Plugin?

 



Regards,

 

Bjorn Schultheiss

Senior Flash Developer

QDC Technologies



 





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of David Mendels
Sent: Wednesday, 8 November 2006 9:19 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Tamarin, Adobe open source the Flash
player ?





 







Hello,

"Dorkie dork" wrote "What it means is that the Browser (mozilla
in this
case) will be able to use ActionScript 3 to manipulate the dom in
addition to existing _javascript_"

This is incorrect.

What it means is that the next generation of _javascript_ will be powered
by the Tamarin VM and that "_javascript_" and "ActionScript"
will converge
into a single implementation used by both the Flash Player and the
Firefox browser/SpiderMonkey.

-David

-Original Message-



















This
email and any files transmitted with it may be confidential and are intended
solely for the use of the individual or entity to whom they are addressed. This
email may contain personal information of individuals, and be subject to
Commonwealth and/or State privacy laws in Australia. This email is also subject
to copyright. If you are not the intended recipient, you must not read, print,
store, copy, forward or use this email for any reason, in accordance with
privacy and copyright laws. If you have received this email in error, please
notify the sender by return email, and delete this email from your inbox. 













 




__._,_.___





--
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: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread Andrew Muller



BjornI'd guess that the answer is yes to both.AndrewOn 08/11/06, Bjorn Schultheiss <[EMAIL PROTECTED]
> wrote:












  











So will enhancements contributed by Mozilla to Tamarin feature in
subsequent releases of the flash player?

Or is this mainly an attempt to bring _javascript_ closer inline
with Actionscript?

 

Sorry, I'm still finding this difficult to read at the
moment.

 



Regards,

 

Bjorn Schultheiss



 -- ---
Andrew Mullerhttp://www.webqem.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
  
  
  

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: 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 
adding classes 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 
   
 

  




__,_._,___



[flexcoders] New to Array Collection.

2006-11-07 Thread Joe
What is the easiest way to exstract a single value from an array 
collection that is a reslut from remote object calling a cfc.


 [Bindable]
public var empSelected:Number;

public function getempProfile():void{

cfService.empName({emp:empSelected});

}

[Bindable]

private var empData:ArrayCollection;

private function dataHandler(event:ResultEvent):void{
empData = event.result as ArrayCollection;
}






 






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Eclipse becoming HORRIBLY slow??

2006-11-07 Thread Matt
I don't know if you have the Help Panel open or not. When I start 
seeing Flex Builder become unresponsive, it is when I have the Help 
panel open and the "Dynamic Help" querys are trying to keep up. 
Usually by shutting down the help panel it becomes responsive again.


--- In flexcoders@yahoogroups.com, "Steve Kellogg @ Project SOC" 
<[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
>  
> 
> I'm using FB2 on WinXP on a fairly modern laptop (core duo).
> 
>  
> 
> I seem to be having a great deal of trouble lately with 
FlexBuilder's TEXT
> EDITOR (in SOURCE MODE) getting VERY VERY SLOW.  Slow means that I 
can type
> a 32 character line, and see a 10-15 second delay before all of the
> characters show up on the screen.
> 
>  
> 
> Is there some sort of GARBAGE COLLECTION that might be getting in 
the way of
> smooth operation?  Are there any known conditions that I should be 
avoiding?
> 
>  
> 
> Thanks in advance,
> 
>  
> 
>  
> 
> Steve
> 
>  
> 
>  
> 
>  
> 
> Steve Kellogg
> 
> Peak8 Solutions
> 
> 1401 14th Street
> 
> Boulder, Colorado
> 
> 80302, USA
> 
> Fax: 303.415.2597
> 
> E-Mail: [EMAIL PROTECTED]
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Flex Accessibility - TextInput Component

2006-11-07 Thread Andrew Kirkpatrick





It varies.  This does confirm that JAWS is getting the 
information out of the player, I'm not sure why you're only seeing the result 
here without seeing it.  Is there an example you can forward to 
me?
 
Thanks,
AWK

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Mike 
  ShawSent: Tuesday, November 07, 2006 5:15 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 
  Accessibility - TextInput Component
  
  Hi Andrew,
   
  we are using JAWS 7.1 and have the scripts 
  installed.
   
  It doesn't read 
  the name out in forms or virtual PC mode.
   
  hitting ins+F5 shows the info in this list and unless you 
  can suggest a better option this will have to do. (I 
  presume
  that this option is well understood by most JAWS users of 
  course. Is this a correct assumption?)
   
  Thanks,
   
  Mike.
   
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Andrew 
  KirkpatrickSent: Tuesday, 7 November 2006 1:45 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 
  Accessibility - TextInput Component
  
  
  
  A bunch of questions:
   
  What version of JAWS?
   
  Do you have the JAWS scripts installed? (http://www.adobe.com/macromedia/accessibility/features/flex/jaws.html)
   
  Try hitting ins+f5 - is your info in this 
  list?
   
  Do you know about forms mode and virtual PC cursor mode 
  in JAWS? You will get some different information out of the controls in each 
  mode.  To enter forms mode, navigate to the textinput and hit enter - 
  jaws will say "Forms mode on".
   
  Background info: 
  Virtual PC cursor mode is when JAWS navigates through the 
  off-screen model that it constructs for its own purposes.  when in this 
  mode (this is the mode that users are in when they enter a page) JAWS listens 
  to the keypresses made by the user, acts on some of them and passes some on to 
  the browser/player (this is a bit of a simplification).  JAWS uses 
  many keystrokes - "f" is used by JAWS to move the virtual focus to the next 
  form control, right arrow reads the next character, down arrow reads the next 
  line, etc.  If a user wants to enter text into a control such as a 
  textInput, or use arrow keys to switch the active tab in a tabnavigator, they 
  need to be in forms mode.
   
  Forms mode allows user keystrokes to pass through to the 
  player/browser.  Additional navigation of the content (e.g. reading line 
  by line through non-focusable objects) is not possible, and the user's 
  interaction model is basically identical to that of a keyboard-only 
  user.  
   
  let me know if this helps,
  AWK
  
  Andrew KirkpatrickCorporate Accessibility Engineering 
  LeadAdobe Systems
  


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Mike 
ShawSent: Monday, November 06, 2006 6:12 PMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Flex 
Accessibility - TextInput Component



Hi, we are building a financial calculator app in 
flex 2 which is required to be accessible. 
So far we have got through most of the pitfalls 
except for one. 
We have a TextInput which due to the visual 
design is not in a FormItem (so no label). So instead we assign a name or description property to the 
accessibilityProperties object. The TextInput may or may not be editable. The question is: 
How do we get Jaws to read the name or 
description properties. Currently it is only reading the value. 
I know the properties are set because I 
can see them using Microsoft's Inspect32. 
Any help would be much appreciated. 
Regards, 
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
  
  
  

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 
   
 

  




__,_._,___



[flexcoders] Re: How do I add superscript text in Flex?

2006-11-07 Thread thegators_2002
Thanks, Dan!

I tried your suggestion and made a small SWF.  I embedded it in a line
of htmlText using the  tag.



Unfortunately, Flex doesn't seem to render it correctly.  The image
only appears when I have a text control that is expanded to be several
lines long.  In other words, I can't just put a simple 1-line text
field on the canvas and generate the text.  I have to use a multi-line
text field or text area, and even then the image appears at the end of
the text.

In the help, it says "The  tag is not fully supported in Flex 2,
and might not work in some cases" and also "This tag is supported only
in dynamic and input text fields that are multiline and wrap their
text".  There is an example about how to make text flow around an
image.  I can't really do this for a simple superscript footnote
number, unfortunately.

Does anyone have any other ideas I can try?  It seems odd that
something so simple should be so impossible!  :(

Thanks for any help,
Pete





--- In flexcoders@yahoogroups.com, "Daniel Freiman" <[EMAIL PROTECTED]> wrote:
>
> to the best of my knowledge, there's not a great way to do this.  My
best
> idea would be to create a footnote swf and embed it in the textbox
with the
> img tag.  Each swf could be passed a number (and/or possibly some
formating
> information) and would simply display that number in a small font in a
> textfield (autosize left).  you would need to keep track of the number
> within the textbox so that if one gets deleted the rest get renumbered
> automatically (or i guess you could let them edit it manually too).
> 
> - Dan
> 
> On 11/6/06, thegators_2002 <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > My Flex app will have lots of text that must be footnoted on the
> > screen.  Some of the text includes dynamically generated numbers, so
> > the size of the textbox is indeterminate at design-time.
> >
> > I have read that superscript/subscript HTML tags are not supported in
> > the HtmlText sections of the text controls.  And, because the text
> > fields are dynamically sized, I can't just pop a shrunken footnote
> > image or text control on the canvas overlaying the textbox.  Does
> > anyone know of a way I could dynamically add superscript to a line of
> > text generated at runtime?
> >
> > Thanks,
> > Pete
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



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

2006-11-07 Thread Bjorn Schultheiss










So will enhancements contributed by Mozilla to Tamarin feature in
subsequent releases of the flash player?

Or is this mainly an attempt to bring _javascript_ closer inline
with Actionscript?

 

Sorry, I’m still finding this difficult to read at the
moment.

 



Regards,

 

Bjorn Schultheiss



 





From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of John Mazzocchi
Sent: Wednesday, 8 November 2006 11:36 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Tamarin, Adobe open source the Flash
player ?





 









I think that Gordon stated that you *will* still need the Flash
Player plugin... the Flash-specific classes (like Sprite) will still live
there.





 





J





-Original Message-
From: Bjorn Schultheiss [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 8 November 2006 11:14 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tamarin, Adobe open source the Flash player ?



Does this mean in the future there will
be no need for the Firefox Flash Plugin?

 



Regards,

 

Bjorn Schultheiss

Senior Flash Developer

QDC Technologies



 





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of David Mendels
Sent: Wednesday, 8 November 2006 9:19 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Tamarin, Adobe open source the Flash
player ?





 







Hello,

"Dorkie dork" wrote "What it means is that the Browser (mozilla
in this
case) will be able to use ActionScript 3 to manipulate the dom in
addition to existing _javascript_"

This is incorrect.

What it means is that the next generation of _javascript_ will be powered
by the Tamarin VM and that "_javascript_" and "ActionScript"
will converge
into a single implementation used by both the Flash Player and the
Firefox browser/SpiderMonkey.

-David

-Original Message-



















This email and any files transmitted with it may be
confidential and are intended solely for the use of the individual or entity to
whom they are addressed. This email may contain personal information of
individuals, and be subject to Commonwealth and/or State privacy laws in
Australia. This email is also subject to copyright. If you are not the intended
recipient, you must not read, print, store, copy, forward or use this email for
any reason, in accordance with privacy and copyright laws. If you have received
this email in error, please notify the sender by return email, and delete this
email from your inbox. 





 




__._,_.___





--
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: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread John Dowdell
Time out! Everybody go into their corner and read the FAQ and the 
previous commentary here before posting!  ;-)
http://www.mozilla.org/projects/tamarin/faq.html

(Adobe has donated source code used in Adobe Flash Player's scripting 
engine to Mozilla, for use in their own JavaScript engine SpiderMonkey. 
It's not about writing "ActionScript" in HTML pages or doing anything 
with the rest of the Adobe Flash Player. Future Firefox scripts will 
scream, that's the nut of it.)

jd





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Image Scroller

2006-11-07 Thread Ashish Goyal












I can think of one way you can achieve
this. Add all images to HBox. On Hbox’s creationComplete event use Timer
class to set timer for say 500 ms. In the timer handler function increment the value
of horizontalScrollPosition by 5 px. You can also check if the horizontalScrollPosition
is greater than maxhorizontalScrollPosition and then set horizontalScrollPosition
to 0 again.

 

BTW, you can check out flash.utils package
for more info on Timer class.

 

-Ashish

 

 

 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel Freiman
Sent: Tuesday, November 07, 2006
12:34 PM
To: flexcoders
Subject: [flexcoders] Image
Scroller



 







I need an
image scroller.  It's a standard concept.  You have a set of images
in a horizontal list and the list is animated to scroll from right to
left.  It never stops scrolling because the images are looped (it's like
the text scrollers people used to make in Java when applets first showed up). 

This seems to me like it should be easy but the looping is throwing me.

Some extra incentive to help me: it's for a charitable non-profit (a local Boys
and Girls Club).  (Yes I'm channeling my mother to try and guilt people.) 

- Dan






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

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] checkCellRender Validation

2006-11-07 Thread Stephen Gilson





Hi Valy,
 
This issue will be fixed in the upcoming Flex release. I'm 
not aware of a workaround, but maybe someone else in the group had come up with 
one.
 
Stephen


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Valy 
SivecSent: Tuesday, November 07, 2006 2:27 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] checkCellRender 
Validation




Hi 
Stephen,Sorry, didn't realize that the 
page was part of the frame... Here is the document I was referencing: 
http://livedocs.macromedia.com/flex/2/docs/0867.htmlThe ! tasks I have seems pretty 
basic, have a grid with multiple columns and only 2 columns should be editable. 
I want to be able validate the cell  content at edit. As you said the 
reason property of the DataGrid event doen't work correctly and seems that I 
have ran out of luck tryingDo you have any work around? Any 
advice?I'm kinda stuck right 
nowThank you for the 
message.Valy
- Original Message From: Stephen Gilson com>To: [EMAIL PROTECTED]ups.comSent: Tuesday, November 
7, 2006 1:24:16 PMSubject: RE: [flexcoders] checkCellRender 
Validation


Hi Valy,
 
In Flex 2, there was an issue with the reason property of 
the DataGridEvent and ListEvent class not being set properly when you change 
cell focus. Which example is this? The page you mention takes me to a page with 
no example on it.
 
Stephen


From: [EMAIL PROTECTED] ups.com 
[mailto:flexcoders@ yahoogroups. com] On Behalf Of Valy 
SivecSent: Tuesday, November 07, 2006 1:18 AMTo: 
[EMAIL PROTECTED] ups.comSubject: RE: [flexcoders] checkCellRender 
Validation


Hello flexcoders,I've spent the last few hours trying to validate a 
cell on a editable datagrid without any luck. Do you have any example?. The 
example from the adobe docs doesn't work :(. It seems that preventDefault( ) 
always works for tab but not for the mousehttp://livedocs. macromedia. com/flex/ 
2/docs/wwhelp/ wwhimpl/common/ html/wwhelp. htm?context= LiveDocs_ 
Parts&file=0857. html#230761Any help is greatly 
appreciated,Thanks,Valy


Get your email and see which of your friends are online - Right on the new Yahoo.com 


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

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 
   
 

  




__,_._,___



[flexcoders] Setting up FDS

2006-11-07 Thread Jeff Krueger



Sorry if this is documented somewhere, I am having a hard time understanding all the levels in FDS.       I have a Java web app that is a prior application that is setup as a webservice app to my data access tier.  I would like to extend this app to include the ablility to process RemoteObject request.  I think to do this I need to add a AMF gateway servlet to that webapplication.  Then setup that up as a channel in my flex application war.  So I would have two Web Apps on the same server.  Is this the correct way to do this.     I did a large project in Flex 1.5 that used remote objects, but it was just one large web app and contain all the SOA and the Flex app.  I was hoping to keep them seperate in this application.  Is that possible?     Thanks     Jeff    


Sponsored Link
Try Netflix today! With plans starting at only $5.99 a month what are you waiting for?
__._,_.___





--
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: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread Andrew Muller



BjornAs I understand it you'll still need the Flash plugin but will be able to use ActionScript for client side scripting on FireFox.AndrewOn 08/11/06, 
Bjorn Schultheiss <[EMAIL PROTECTED]> wrote:













  











Does this mean in the future there will be no need for the
Firefox Flash Plugin?

 



Regards,

 

Bjorn Schultheiss

Senior Flash Developer

QDC Technologies



 





From: [EMAIL PROTECTED]
ups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of David Mendels
Sent: Wednesday, 8 November 2006 9:19 AM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Re: Tamarin, Adobe open source the Flash
player ?





 







Hello,

"Dorkie dork" wrote "What it means is that the Browser (mozilla
in this
case) will be able to use ActionScript 3 to manipulate the dom in
addition to existing _javascript_"

This is incorrect.

What it means is that the next generation of _javascript_ will be powered
by the Tamarin VM and that "_javascript_" and "ActionScript"
will converge
into a single implementation used by both the Flash Player and the
Firefox browser/SpiderMonkey.

-David-- ---Andrew Muller
http://www.webqem.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
  
  
  

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: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread John Mazzocchi





I 
think that Gordon stated that you *will* still need the Flash Player plugin... 
the Flash-specific classes (like Sprite) will still live 
there.
 
J

  -Original Message-From: Bjorn Schultheiss 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, 8 November 
  2006 11:14 AMTo: flexcoders@yahoogroups.comSubject: 
  [flexcoders] Re: Tamarin, Adobe open source the Flash player 
  ?
  
  Does 
  this mean in the future there will be no need for the Firefox Flash 
  Plugin?
   
  
  Regards,
   
  Bjorn 
  Schultheiss
  Senior 
  Flash Developer
  QDC 
  Technologies
   
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  David MendelsSent: Wednesday, 8 November 2006 9:19 
  AMTo: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Re: Tamarin, Adobe open source the Flash player 
  ?
   
  
  
  
  Hello,"Dorkie dork" wrote "What it means is that the Browser 
  (mozilla in thiscase) will be able to use ActionScript 3 to manipulate the 
  dom inaddition to existing _javascript_"This is 
  incorrect.What it means is that the next generation of _javascript_ will 
  be poweredby the Tamarin VM and that "_javascript_" and "ActionScript" will 
  convergeinto a single implementation used by both the Flash Player and 
  theFirefox browser/SpiderMonkey.-David-Original 
  Message-
   

This email and any files transmitted with it may be confidential and are intended solely for the use of the individual or entity to whom they are addressed. This email may contain personal information of individuals, and be subject to Commonwealth and/or State privacy laws in Australia. This email is also subject to copyright. If you are not the intended recipient, you must not read, print, store, copy, forward or use this email for any reason, in accordance with privacy and copyright laws. If you have received this email in error, please notify the sender by return email, and delete this email from your inbox. 


__._,_.___





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

  




__,_._,___



[flexcoders] Re: cairngorm: calling a function in a view

2006-11-07 Thread Bjorn Schultheiss










Here’s a quick illustration, hope it is helpful.

 

Command ->

public function result(re:*):void {

    ModelLocatorgetInstance().myviewmodel.myXMLParser(
re.result );

}

 

ModelObject ->

[Binadble]

class MyViewModel {

    public
function myXMLParser(val:XML):void {

    //
parser logic

    view_xml
= parsedData;

    }

    public
var view_xml:*;

}

 

View ->



 



Regards,

 

Bjorn Schultheiss

Senior Flash Developer

QDC Technologies



 





From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jamie O
Sent: Wednesday, 8 November 2006 11:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: cairngorm: calling a function in a view





 







I'm
sorry, I think you might have just broke my brain :( Or maybe my
grasp on Cairngorm isn't quite as strong as I thought it. The root of
my understanding is based on Jesse (JesterXL)'s example with quite a
few modifications.

I built the parse() method inside the component as it would get into
nested arrays and storing a lot of variables in the global program
that don't have value to do it the other way. Plus, from an OO
perspective I think that is more sound, I can give the SWC to another
developer along with sample XML format to provide to it. Make sense no?

Part of this may be the 'many ways to skin a cat' challenge that
Cairngorm is more a frame on which to hang your code rather than
something that forces you to program in a particular manner.

Any samples of methods on the model and calling components / their
getters / setters from views would be valuable.

Thx,
Jamie

--- In flexcoders@yahoogroups.com,
"Bjorn Schultheiss"
<[EMAIL PROTECTED]> wrote:
>
> Ideally your pase() method should be on the model, with the view
only used
> to render passed data via databinding the parsed value from the
model to the
> dataprovider of the view.
> 
> 
> 
> Regards,
> 
> 
> 
> Bjorn Schultheiss
> 
> Senior Flash Developer
> 
> QDC Technologies
> 
> 
> 
> From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
> Behalf Of Jamie O
> Sent: Wednesday, 8 November 2006 9:57 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: cairngorm: calling a function in a view
> 
> 
> 
> I believe Observe / Value is what I want to use for a current
> challenge, but try as I might, I just cannot seem to wrap my head
> around it. Hoping someone could take another kick at the cat to
> explain it in context of the following situation:
> 
> My component (SWC) is defined inside a view and has a public property
> that is databound to my modelLocator for it's XML source. When the
> right data conditions are met internally it broadcasts an addressEvent
> with all user selected data.
> 
> postcodeXML="{ModelLocator.getInstance().PointOfCall.postcodeXML}"
> AddressEvent="AddressEventHandler(event)" />
> 
> When the user provides input data, I broadcast a search event and
> receive the updated XML from the services / delegator. There is a
> public method - currently titled Update() - in the component to parse
> the XML and build up it's display accordingly. Within the view I can
> bind a button to that Update() function and the parsing goes smooth.
> 
> 
click="{PointofCall.Update()}"/>
> 
> But the problem is that I only know when the data is updated in the
> onResult method of my command that sent the data off in the first place.
> 
> How do I - in a command - trigger the method of a component on a view?
> 
> Thanks,
> Jamie
> 
> --- In flexcoders@yahoogroups.com
 ,
> "Tim Hoff"  wrote:
> > > Hi Alex,
> > > 
> > > Thank you very much for addressing this topic in your blog.
Using 
> > > observe and ObserveValue seems much cleaner than 
> > > viewLocator/viewHelper; more direct and less classes. Your 
> > examples 
> > > illustrate a very useful technique for manipulating local view 
> > > states through binding. I wasn't however, able to view the
source 
> > > for Iteration6. It shows a partial listing of the application
mxml 
> > > class, but no other classes and download options.
> > > 
> > > Kudos,
> > > -TH
>



 




__._,_.___





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

RE: [flexcoders] Re: FileReference Download

2006-11-07 Thread Carson Hager





Is there a link on our web site that is not working for 
you?  If that is the case, I will have it addressed 
immediately.
 
 
Carson

 Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.com Email:  
[EMAIL PROTECTED]Office:  
866-CYNERGYMobile: 1.703.489.6466
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
sbyrne_doradoSent: Tuesday, November 07, 2006 3:55 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
FileReference Download


PLEASE expand upon #3. Where *exactly* should this separately loadedcross 
domain file be, what *exactly* should it contain, how and when*exactly* 
should it be loaded? Please post an example here (and notpossibly breakable 
link to Cynergy), ok? You will be doing a lot ofpeople a HUGE 
favor!--- In [EMAIL PROTECTED]ups.com, 
"Theodore E Patrick" <[EMAIL PROTECTED]> wrote:>> Just to add to 
Carson's post:> > There is a HTTP header corruption bug in Flash 
Player 8 Release and> 8.5.0.133 players that will cause Upload and 
Download functionalityto be> limited. This bug has been fixed within 
8.5.0.175 player.> > Here is what doesn't work seamlessly:> 
> 1. HTTP AUTH - Authorization Headers will corrupt data exchange. If 
you> upload to an application running within an authorized HTTP 
session,in some> browsers the upload will fail. I have seen this 
occur in Safari(OSX) and> FireFox(Win32).> > 2. POST 
Parameters will corrupt data exchange on an Upload request.This is> 
specific to FireFox(Win32) when additional HTTP POST parameters 
areadded> into a request. I have seen this occur in Safari(OSX) 
andFireFox(Win32).> > 3. HTTPS/SSL usage with 
FileReference requires a separate loading of a> crossdomain policy file 
for use within the same domain.> > The FileReference functionality 
in FireFox(Win32) does not use theFireFox> browser to exchange data, 
instead it uses native Win32 networking. Ibelieve> that many of the 
errors in Firefox are a result of upload and download> requests traveling 
through win32 networking. When using Authorization> headers, you will see 
the Internet Explorer Authorization SecurityDialog> appear in 
addition to the Firefox Authorization Security Dialog. Theproblem> is 
that authorization headers are not shared between Firefox and Win32> 
Networking. Although you may have Auth session headers in Firefox,when 
you> use upload/download, the header data is lost.> > 
Ideally I have found that it is best to use very simple upload logic for> 
compatibility. I typically use URLRewriting to add parameters into the> 
upload url path without the use of GET/POST parameters. I upload to a> 
separate HTTP/HTTPS subdomain and pass a unique token within the upload> 
request url like so:> > http://upload.myserver.com/upload/29879827342342342> 
> The upload application saves the upload file data if the 
tokenexists and> expires the token when an upload occurs or within 10 
minutes. This> methodology seems to work compatibly for all existing 
browsers andcan be> adapted to any security model. > > 
On the download requests URLRewriting is also very handy. To makesure 
the> filename is returned consistently, I append the name into a 
URLRewritten> request like so:> > http://upload.myserver.com/upload/2020938409987234/myFile.pdf> 
> In this case, 2020938409987234 is used to obtain a file but the 
namemakes> sure that the user will always be presented with 
'myFile.pdf' within the> FileReference SaveAs Dialog. I have seen several 
cases where the> defaultFileName argument on the download method will 
fail when POSTor GET> Parameters are in use. If you call download 
with the above URL, the name> will be myFile.pdf consistently.> 
> Please understand that these solutions are not ideal but they 
workwell and> I have yet to find a case that could not be adapted 
into an application.> > My 2 Cents,> > Ted 
Patrick> Cynergy Systems, Inc.> http://www.cynergysystems.com> 
> > > > -Original Message-> > From: [EMAIL PROTECTED]ups.com[mailto:[EMAIL PROTECTED]ups.com] 
On> > Behalf Of Carson Hager> > Sent: Wednesday, January 11, 
2006 7:47 PM> > To: [EMAIL PROTECTED]ups.com> 
> Subject: RE: [flexcoders] FileReference Download> > > > 
You cannot. In my opinion, this functionality is seriously limited in> 
> this regard. You also can't add anything to the multipartrequest 
form> > for uploads. You have to append to the URL. Your best bet is 
touse an> > httpservice or webservice that preallocates the row in 
the database> > returning the key to your Flex app. You can then use 
that key inthe URL> > of your upload to tell your server script 
what row to place thedata in.> > > > > > 
Carson> > > > > > 
> > 
> > Carson Hager> > Cynergy Systems, Inc.> > http://www.cynergysystems.com> 
> > > Email: carson.hager@...> > Office: 
866-CYNERGY> > Mobile: 1.703.489.6466> > > > 
> > > > -Original Message-> > From: [EMAIL PROTECTED]ups.com[mailto

[flexcoders] Re: Calendar...visually show selection for related data?

2006-11-07 Thread qnotemedia
Perhaps a more specific example will help with my question...

I'm digging through the Flex2 docs and found the "textDecoration" 
property of the DateChooser.  Seeting this to "underline" will make ALL 
dates in the datechooser have lines under them.

Given the original scenario, is there any way that I can apply this 
property to only a specfic collection of dates through something like a 
for loop?  i.e. loop through the ArrayCollection, and for each date 
found, underline the specific matching date in the component, but leave 
the others alone.


--- In flexcoders@yahoogroups.com, "qnotemedia" <[EMAIL PROTECTED]> wrote:
>
> I have a calendar component and an ArrayCollection of data that is 
> filtered depending on the selected date of the calendar.  Selecting a 
> date brings up a list of items in the array.
> 
> Is there any way that I can visually extend the calendar component to 
> show markers where dates not selected have this associated data?
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] BindingWatcher and XML

2006-11-07 Thread tobiaspatton
Hello list;

Is there way to use the BindingWatcher class to detect changes to 
nodes in an XML object? So far, I've not been able to get this to 
work.

I've looked at the compiler-generated code that implements this sort 
of binding for MXML files, but it uses classes like XMLWatcher that 
are in the mx:internal namespace. I understand that developers are 
not meant to use these classes.

Thanks.
Tobias.

Here's the code I'm using for my tests:


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








 





Initial Value 0

Initial Value
Initial Value 2









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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] splitting textarea lines into an array

2006-11-07 Thread Benjamin Dobler










Hi,

 

Does anyone has a nice solution for converting text
in a textArea component into items of an array so that each line is an item of
the array.

 

Thanx

 

Benz




__._,_.___





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








   






  
  
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 
   
 

  




__,_._,___





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

2006-11-07 Thread Bjorn Schultheiss










Does this mean in the future there will be no need for the
Firefox Flash Plugin?

 



Regards,

 

Bjorn Schultheiss

Senior Flash Developer

QDC Technologies



 





From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of David Mendels
Sent: Wednesday, 8 November 2006 9:19 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Tamarin, Adobe open source the Flash
player ?





 







Hello,

"Dorkie dork" wrote "What it means is that the Browser (mozilla
in this
case) will be able to use ActionScript 3 to manipulate the dom in
addition to existing _javascript_"

This is incorrect.

What it means is that the next generation of _javascript_ will be powered
by the Tamarin VM and that "_javascript_" and "ActionScript"
will converge
into a single implementation used by both the Flash Player and the
Firefox browser/SpiderMonkey.

-David

-Original Message-



 




__._,_.___





--
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: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread John Mazzocchi





If I 
get it, it means I'll be able to juggle both DOM objects and Flash objects 
from the *same* language ...? I say it's cool :D
 
John

  -Original Message-From: Gordon Smith 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, 8 November 2006 6:19 
  AMTo: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Re: Tamarin, Adobe open source the Flash player 
  ?
  Thanks!
   
  Now that ya'll understand what Adobe is doing, what are 
  your reactions?
   
  - Gordoon
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  ben.clinkinbeardSent: Tuesday, November 07, 2006 10:37 
  AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
  Re: Tamarin, Adobe open source the Flash player ?
  
  
  Once again, Gordon takes the cake for the best clear and 
  conciseexplanation of a topic. I have read at least 20 descriptions of 
  thisstuff today and this is the first one that has made complete 
  sense.(The others ranged from 'almost getting it' to 'no clue what the 
  hellthat means'.) Thanks Gordon!Ben--- In [EMAIL PROTECTED]ups.com, 
  "Gordon Smith" <[EMAIL PROTECTED]> wrote:>> This is a major 
  contribution from Adobe to the open-source community,> but let me try 
  to clarify what it is and what is isn't. The code being> open-sourced 
  is for the core AS3 language, not for anything specific to> Flash. The 
  contributed engine is able to execute a program that uses> core classes 
  of the language like Array, Date, RegExp, and XML. It is> not be able 
  to execute a program that use Flash-specific classes like> Sprite, 
  TextField, SharedObject, or URLLoader. In particular it supports> no 
  Flash graphics.> > 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 adding classes 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.> > So this has nothing to do with 
  putting Flash into Firefox. Firefox users> will still require the Flash 
  plugin to run SWFs. But contributing a> high-performance virtual 
  machine for a type-checked, object-oriented> language is still a big 
  deal!> > - Gordon> > 
  > > From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  On> Behalf Of jrunrandy> Sent: Tuesday, November 07, 2006 5:28 
  AM> To: [EMAIL PROTECTED]ups.com> 
  Subject: [flexcoders] Re: Tamarin, Adobe open source the Flash player 
  ?> > > > Here is my understanding:> 
  > Adobe is not open sourcing the Flash Player. Adobe *is* contributing 
  > source code for the ActionScript Virtual Machine, the scripting 
  > language engine component within Flash Player. ActionScript 3.0 runs 
  > on the Tamarin virtual machine in Flash Player 9.> > 
  I'm sure there are others who can clarify this further.> > Randy 
  Nielsen> Flex Documentation Manager> 

This email and any files transmitted with it may be confidential and are intended solely for the use of the individual or entity to whom they are addressed. This email may contain personal information of individuals, and be subject to Commonwealth and/or State privacy laws in Australia. This email is also subject to copyright. If you are not the intended recipient, you must not read, print, store, copy, forward or use this email for any reason, in accordance with privacy and copyright laws. If you have received this email in error, please notify the sender by return email, and delete this email from your inbox. 


__._,_.___





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

  




__,_._,___



[flexcoders] Memory leak when using Bindings

2006-11-07 Thread Xavi Beumala



Hi there,I'm experiencing some weird behaviour when using Bindings. In short, when I remove some object from the DisplayList which has declared any Binding, the garbage doesn't destroy this object from memory causing unwanted binding triggers and an innecesary increase of memory usage.
Here's an example which isolates the problem. It consists in 2 mxml's (Main.mxml and MyScreen.mxml) and 1 .as. (ModelLocator.as)Main.mxml consists of one button and an empty mx:Canvas. When the button is clicked three actions are taken:
   1. A property in the ModelLocator is increased by one.   2. Remove all canvas children.   3. Create a new instance of MyScreen component   4. Add the MyScreen instance to the canvas displayList.
On the other hand, MyScreen.mxml just declares a binding from the testVar property declared in the ModelLocator to a setter. In this setter a simple trace is performed.The problem is seen when clicking several times the button. 
   1. The first time you click it only one trace is printed.   2. The second time you click it, the trace is performed twice. One for the new created instance an one for the removed one.   3. The third time you click it, the trace is performed 3 times, one for each instance of MyScreen that has been previously been instanciated.
   4. and so on...I'm not sure if this is a bug or not, but I think it's not the expected behaviour and lots of applications can suffer a serious decrease of performance due to this issue. I've been digging on the auto generated code trying to isolate where the bindings where declared. I'm not sure, but maybe the problem has to be something with weakreferences.
So the question is, how could I workarround this? Is there anyway I can force binding to stop working? remove it? or whatever? maybe declare it as a weakreference and not as a strong reference?Help is much apreciated!
Here's the isolated code:[CODE --- main.mxml]    xmlns:mx="http://www.adobe.com/2006/mxml
"    layout="vertical" >                                
[/CODE][CODE -- MyScreen.mxml]http://www.adobe.com/2006/mxml
">            
                    
[/CODE][CODE -- ModelLocator.as]package  {    [Bindable]    public class ModelLocator {        private static var instance:ModelLocator;                public function ModelLocator() {
            instance = this;        }                public static function getInstance():ModelLocator {            if (instance == null) {                instance = new ModelLocator();            }
                        return instance;        }                public var testVar:int;    }}[/CODE]Thanks so muchX.P.D: this is the third time I send this question, hope this time someone can help :-)


__._,_.___





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

  




__,_._,___



[flexcoders] Re: cairngorm: calling a function in a view

2006-11-07 Thread Jamie O
I'm sorry, I think you might have just broke my brain :( Or maybe my
grasp on Cairngorm isn't quite as strong as I thought it. The root of
my understanding is based on Jesse (JesterXL)'s example with quite a
few modifications.

I built the parse() method inside the component as it would get into
nested arrays and storing a lot of variables in the global program
that don't have value to do it the other way. Plus, from an OO
perspective I think that is more sound, I can give the SWC to another
developer along with sample XML format to provide to it. Make sense no?

Part of this may be the 'many ways to skin a cat' challenge that
Cairngorm is more a frame on which to hang your code rather than
something that forces you to program in a particular manner.

Any samples of methods on the model and calling components / their
getters / setters from views would be valuable.

Thx,
Jamie

--- In flexcoders@yahoogroups.com, "Bjorn Schultheiss"
<[EMAIL PROTECTED]> wrote:
>
> Ideally your pase() method should be on the model, with the view
only used
> to render passed data via databinding the parsed value from the
model to the
> dataprovider of the view.
> 
>  
> 
> Regards,
> 
>  
> 
> Bjorn Schultheiss
> 
> Senior Flash Developer
> 
> QDC Technologies
> 
>  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Jamie O
> Sent: Wednesday, 8 November 2006 9:57 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: cairngorm: calling a function in a view
> 
>  
> 
> I believe Observe / Value is what I want to use for a current
> challenge, but try as I might, I just cannot seem to wrap my head
> around it. Hoping someone could take another kick at the cat to
> explain it in context of the following situation:
> 
> My component (SWC) is defined inside a view and has a public property
> that is databound to my modelLocator for it's XML source. When the
> right data conditions are met internally it broadcasts an addressEvent
> with all user selected data.
>  postcodeXML="{ModelLocator.getInstance().PointOfCall.postcodeXML}"
> AddressEvent="AddressEventHandler(event)" />
> 
> When the user provides input data, I broadcast a search event and
> receive the updated XML from the services / delegator. There is a
> public method - currently titled Update() - in the component to parse
> the XML and build up it's display accordingly. Within the view I can
> bind a button to that Update() function and the parsing goes smooth.
> 
> 
> 
> But the problem is that I only know when the data is updated in the
> onResult method of my command that sent the data off in the first place.
> 
> How do I - in a command - trigger the method of a component on a view?
> 
> Thanks,
> Jamie
> 
> --- In flexcoders@yahoogroups.com
 ,
> "Tim Hoff"  wrote:
> > > Hi Alex,
> > > 
> > > Thank you very much for addressing this topic in your blog. Using 
> > > observe and ObserveValue seems much cleaner than 
> > > viewLocator/viewHelper; more direct and less classes. Your 
> > examples 
> > > illustrate a very useful technique for manipulating local view 
> > > states through binding. I wasn't however, able to view the source 
> > > for Iteration6. It shows a partial listing of the application mxml 
> > > class, but no other classes and download options.
> > > 
> > > Kudos,
> > > -TH
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: FileReference Download

2006-11-07 Thread sbyrne_dorado
PLEASE expand upon #3.  Where *exactly* should this separately loaded
cross domain file be, what *exactly* should it contain, how and when
*exactly* should it be loaded?  Please post an example here (and not
possibly breakable link to Cynergy), ok?  You will be doing a lot of
people a HUGE favor!

--- In flexcoders@yahoogroups.com, "Theodore E Patrick" <[EMAIL PROTECTED]> 
wrote:
>
> Just to add to Carson's post:
> 
> There is a HTTP header corruption bug in Flash Player 8 Release and
> 8.5.0.133 players that will cause Upload and Download functionality
to be
> limited. This bug has been fixed within 8.5.0.175 player.
> 
> Here is what doesn't work seamlessly:
> 
> 1. HTTP AUTH - Authorization Headers will corrupt data exchange. If you
> upload to an application running within an authorized HTTP session,
in some
> browsers the upload will fail. I have seen this occur in Safari(OSX) and
> FireFox(Win32).
> 
> 2. POST Parameters will corrupt data exchange on an Upload request.
This is
> specific to FireFox(Win32) when additional HTTP POST parameters are
added
> into a request. I have seen this occur in Safari(OSX) and
FireFox(Win32).
> 
> 3. HTTPS/SSL usage with FileReference requires a separate loading of a
> crossdomain policy file for use within the same domain.
> 
> The FileReference functionality in FireFox(Win32) does not use the
FireFox
> browser to exchange data, instead it uses native Win32 networking. I
believe
> that many of the errors in Firefox are a result of upload and download
> requests traveling through win32 networking. When using Authorization
> headers, you will see the Internet Explorer Authorization Security
Dialog
> appear in addition to the Firefox Authorization Security Dialog. The
problem
> is that authorization headers are not shared between Firefox and Win32
> Networking. Although you may have Auth session headers in Firefox,
when you
> use upload/download, the header data is lost.
> 
> Ideally I have found that it is best to use very simple upload logic for
> compatibility. I typically use URLRewriting to add parameters into the
> upload url path without the use of GET/POST parameters. I upload to a
> separate HTTP/HTTPS subdomain and pass a unique token within the upload
> request url like so:
> 
> http://upload.myserver.com/upload/29879827342342342
> 
> The upload application saves the upload file data if the token
exists and
> expires the token when an upload occurs or within 10 minutes. This
> methodology seems to work compatibly for all existing browsers and
can be
> adapted to any security model. 
> 
> On the download requests URLRewriting is also very handy. To make
sure the
> filename is returned consistently, I append the name into a URLRewritten
> request like so:
> 
> http://upload.myserver.com/upload/2020938409987234/myFile.pdf
> 
> In this case, 2020938409987234 is used to obtain a file but the name
makes
> sure that the user will always be presented with 'myFile.pdf' within the
> FileReference SaveAs Dialog. I have seen several cases where the
> defaultFileName argument on the download method will fail when POST
or GET
> Parameters are in use. If you call download with the above URL, the name
> will be myFile.pdf consistently.
> 
> Please understand that these solutions are not ideal but they work
well and
> I have yet to find a case that could not be adapted into an application.
> 
> My 2 Cents,
> 
> Ted Patrick
> Cynergy Systems, Inc.
> http://www.cynergysystems.com
> 
> 
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of Carson Hager
> > Sent: Wednesday, January 11, 2006 7:47 PM
> > To: flexcoders@yahoogroups.com
> > Subject: RE: [flexcoders] FileReference Download
> > 
> > You cannot. In my opinion, this functionality is seriously limited in
> > this regard.  You also can't add anything to the multipartrequest form
> > for uploads. You have to append to the URL.  Your best bet is to
use an
> > httpservice or webservice that preallocates the row in the database
> > returning the key to your Flex app. You can then use that key in
the URL
> > of your upload to tell your server script what row to place the
data in.
> > 
> > 
> > Carson
> > 
> > 
> > 
> > 
> > Carson Hager
> > Cynergy Systems, Inc.
> > http://www.cynergysystems.com
> > 
> > Email:  [EMAIL PROTECTED]
> > Office:  866-CYNERGY
> > Mobile: 1.703.489.6466
> > 
> > 
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of [EMAIL PROTECTED]
> > Sent: Wednesday, January 11, 2006 6:33 AM
> > To: flexcoders@yahoogroups.com
> > Subject: RE: [flexcoders] FileReference Download
> > 
> >  We want to use this functionality to save a document in the server
> > along
> > with some indexing information. Using the Flash sample we were able to
> > do
> > that using a ColdFusion page. However, we need to get back a id
assigned
> > at
> > the time we indexed

[flexcoders] Re: cairngorm: calling a function in a view

2006-11-07 Thread Bjorn Schultheiss










Ideally your pase() method should be on the model, with the view
only used to render passed data via databinding the parsed value from the model
to the dataprovider of the view.

 



Regards,

 

Bjorn Schultheiss

Senior Flash Developer

QDC Technologies



 





From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jamie O
Sent: Wednesday, 8 November 2006 9:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: cairngorm: calling a function in a view





 







I believe Observe / Value is what I want to use
for a current
challenge, but try as I might, I just cannot seem to wrap my head
around it. Hoping someone could take another kick at the cat to
explain it in context of the following situation:

My component (SWC) is defined inside a view and has a public property
that is databound to my modelLocator for it's XML source. When the
right data conditions are met internally it broadcasts an addressEvent
with all user selected data.

postcodeXML="{ModelLocator.getInstance().PointOfCall.postcodeXML}"
AddressEvent="AddressEventHandler(event)" />

When the user provides input data, I broadcast a search event and
receive the updated XML from the services / delegator. There is a
public method - currently titled Update() - in the component to parse
the XML and build up it's display accordingly. Within the view I can
bind a button to that Update() function and the parsing goes smooth.



But the problem is that I only know when the data is updated in the
onResult method of my command that sent the data off in the first place.

How do I - in a command - trigger the method of a component on a view?

Thanks,
Jamie

--- In flexcoders@yahoogroups.com,
"Tim Hoff" <[EMAIL PROTECTED]> wrote:
> > Hi Alex,
> > 
> > Thank you very much for addressing this topic in your blog. Using 
> > observe and ObserveValue seems much cleaner than 
> > viewLocator/viewHelper; more direct and less classes. Your 
> examples 
> > illustrate a very useful technique for manipulating local view 
> > states through binding. I wasn't however, able to view the source 
> > for Iteration6. It shows a partial listing of the application mxml 
> > class, but no other classes and download options.
> > 
> > Kudos,
> > -TH



 




__._,_.___





--
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: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread David Mendels
Hello,

"Dorkie dork" wrote "What it means is that the Browser (mozilla in this
case) will be able to use ActionScript 3 to manipulate the dom in
addition to existing JavaScript"

This is incorrect.

What it means is that the next generation of JavaScript will be powered
by the Tamarin VM and that "JavaScript" and "ActionScript" will converge
into a single implementation used by both the Flash Player and the
Firefox browser/SpiderMonkey.

-David

-Original Message-


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Error in Flex 2.0.1 MX: States Example

2006-11-07 Thread Stephen Gilson





Hi,
 
Can you be more specific as to which example it was? In 
which book or section of the doc did you find it?
 
Thanks,
 
Stephen


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of djSent: 
Tuesday, November 07, 2006 1:58 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Error in Flex 2.0.1 
MX: States Example


The example from the documentation gives me an Actionscript 
error:Severity Description Resource In Folder Location Creation Time 
Id2 Type was not found or was not a compile-time constant: states. 
[Generated code (use -keep to save): Path: states-generated.as, Line: 
304, Column: 14] states November 7, 2006 11:00:15 AM 11409
__._,_.___





--
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] Realtime Panel position sync?

2006-11-07 Thread Evan Gifford












Got it,

 

First of all, the “example code”
below that I sent earlier was an idea of what I wanted to accomplish, but didn’t
actually work because as far as I know, one can’t just bind to the x and
y coordinates of any UIComponent. Binding to the coordinates would mean that
events are constantly being dispatched for every movement of every UIComponent.
I don’t think this is the case, (Is it?) it seems like it would be way
too much traffic for an application to be efficient.

 

The solution I am satisfied with is to use
the granularity of the mouse move event to sync the positions of two Sprites.

 

  
private function mouseDownHandler(event:MouseEvent):void {

   
var sprite:Sprite = Sprite(event.target);

   
sprite.addEventListener(MouseEvent.MOUSE_MOVE,
mouseMoveHandler);

   
sprite.startDrag();

   
}

 

   
private function mouseMoveHandler(event:MouseEvent):void
{

   
followerSprite.x=leaderSprite.x+150;

   
followerSprite.y=leaderSprite.y+150;

   
event.updateAfterEvent();

   
}

 

This syncs position pretty well. If you
drag a sprite real quick, it looses track of it for a brief period of time so a
more smooth tracking could be accomplished with the previous setInterval()
method. 

 

Is there a better way to do this which
would detect a pixel-by-pixel movement of a sprite?

 

Thanks,
Evan

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle
Sent: Monday, November 06, 2006
4:51 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Realtime
Panel position sync?



 







Hi Even,

I think what is happening is you are seeing the startDrag() method interacting
with the player's x and y properties of the DisplayObject.

Whereas the UIComponent is bound by xChanged event, the player does not
dispatch an event. The only reason you are even getting the panel to move with
the mouseUp event is because the LayoutManager validated the parent. 

The methods startDrag() and stopDrag() are 'really' meant for non UIComponents.
Yes, yes, you can laugh at me but, seriously if I remember correctly, they are
not piped into the framework in the way you would expect the methods to work. 

I would say, go the distance and write a method using mouse events and
mouseMove, using the systemManager, see the Panel source code.

The saying in life, 'You get what you pay for' applies nicely right here. 

Peace, Mike



On 11/6/06, Evan
Gifford <[EMAIL PROTECTED]ams.com>
wrote:











Hey guys,

 

I'd like to sync the positions of two ….
Panels, let's say, while one of the two is being actively dragged.

 

 

Here is the ghetto way of doing it (or is it?)

 

Private syncInterval:Object = setInterval(syncWindowPosition,20);

 

Private function syncWindowPosition():void{

 

   
panelTwo.x=panelOne.x + 250;

   
panelTwo.y=panelOne.y + 250;

}

 

As you can guess, this simulates a real-time position
sync so that, as I drag one window the other one follows suite, offset by
250px.

 

But that's just wrong (or is it?)

 

What I'd like to do is something like this.

 



x="{panelOne.x
+ 250}" y="{panelOne.y + 250}"
 width="250" height="200" layout="absolute"
id=" panelTwo">

 

This works on creationComplete, but there is no
redraw done after that or while I drag the 1st window. 

 

 

What am I missing?

 

Thanks!

 



 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.28/518 - Release Date: 11/4/2006














-- 
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com 

You can find more by solving the problem then by 'asking the question'. 






__._,_.___





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

  




__,_._,___








--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.29/520 - Release Date: 11/6/2006
 

--
No virus found in this outgoing me

Re: [flexcoders] Content layout suggestions?

2006-11-07 Thread Rachel Maxim



Troy - As far as organization goes, look into custom components. They can be written with MXML, and they sort of work like "includes" so that you can split your application into logical, manageably sized files. Your Application file just pulls it all together.
HTHRachelOn 11/7/06, Troy Rollins <[EMAIL PROTECTED]> wrote:
For my first Flex project, I'm developing a Flex version of an AS2project I've done. The client is looking to do an update, and thisseems like a good time to move it to Flex. It has been easy to layoutthe interface and wire it up (of course), but I'm not clear on how
best to use the Flex metaphor for the content layout, and am seekingsuggestions, links, or whatever.Basically, it is training content, and takes the form of a bunch of"interactive slide pages", with some ancillary functionality already
provided by the rest of the interface.So, what I'm wondering is how to manage and layout the actual content.Something like a customized ViewStack for each "chapter"? Some of itwill be linked SWF files, but not all of it, and I'd like to keep
things as easy to work with as possible, since there will be a fairamount of content. I would think that a single enormous applicationfile is not a good way to encapsulate things. In Flash, most of thesesame things were handled with symbols in the library, and the symbols
were swapped in and out programatically. I'd like to come up withsomething which works similarly, or better understand how to makeprojects like this in a Flex workflow.TIA.--TroyRPSystems, Ltd.
www.rpsystems.net--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/<*> Your email settings:Individual Email | Traditional<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)<*> To change settings via email:mailto:
[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/


__._,_.___





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

  




__,_._,___



[flexcoders] Re: not found

2006-11-07 Thread zenwarden
OK, I found the answer to this mself:


  






...

You use seriesFilters tag and set with an empty array.

Chris



--- In flexcoders@yahoogroups.com, "zenwarden" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I am trying to remove dropshadows from my line series chart.
> 
> I am trying this:
> 
>
>  
>   
> 
> 
>  
>  
>  
>   
> 
> and my flexbuilder shows an error:
> Could not resolve  to a component implentation.
> 
> I have seen this same code posted in this group, with commments thatit
> is working.
> 
> What am I doing wrong?
> 
> Chris
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] File Upload and Cross Domain issues

2006-11-07 Thread Clint Modien



This may helphttp://tech.groups.yahoo.com/group/flexcoders/msearch?query=FileReference+Download+patrick&submit=Search&charset=ISO-8859-1
On 11/7/06, sbyrne_dorado <[EMAIL PROTECTED]> wrote:













  



Hi.  I know there is someone who knows the answer.  It may be the
unreachable Ted Patrick, who claims he knows the answer in his blog,
instead of including the solution, has a link that is now dead to the
solution.  I am hoping that someone else @ Adobe also knows the
answer.  PLEASE PLEASE PLEASE reply here if you know how to solve the
following problem:

I am trying to use the fileIO.swf file to provide file upload/download
in a Flex application.  Works everywhere except Firefox when using
HTTPS.  I have read that I can do System.security.loadPolicyFile and
load a different cross doman policy file, and I have done that, but it
does not help.  I have tried using:



and
 

with or without 'secure="false"' in both the /crossdomain.xml and in
the  file I load specifically with loadPolicyFile().

I can clearly see the swf file content seems to be loaded, but when I
try to upload I always get an IOError "event", which yields no useful
information other than the fact that something failed. 

Can anyone help me?  Is this something that Flex just can not handle?

Steve


  















__._,_.___





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

  




__,_._,___



[flexcoders] Re: setting stroke and/or liine stroke in charts via a stylesheet

2006-11-07 Thread zenwarden
Thanks, I already have a solution:
I dynamically create a stroke object and give it the attributes I
want, but I will check out the link( think I already saw it).

Chris



--- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote:
>
>  
>  
> Yeah, unfortunately you can't specify objects in CSS...meaning no
> strokes or fills (sort of...we cheat and convert numbers to SolidColor
> fills).
>  
>  
> I have some code that allows you to specify MXML stylesheets, which can
> include arbitrary MXML in them.  Check it out in the ChartSampler:
>  
>  
> http://www.quietlyscheming.com/blog/charts/chart-sampler/
>  
> Ely.
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of zenwarden
> Sent: Tuesday, November 07, 2006 1:06 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] setting stroke and/or liine stroke in charts via a
> stylesheet
> 
> 
> 
> Does anyone have an example of using a stylesheet to set the stoke
> weight and color of a linechart/lineseries?
> 
> Here is the style I am using
> 
> 
> .myChart {
> 
> fontSize: 12;
> color: #FF;
> 
> }
> 
> .myLineSeries {
> 
> form: segmet;
> 
> 
> 
> }
> 
> 
> I would like to add 
> something like:
> 
> lineStroke="Stroke(0xE47801,3)"
> 
> But that does not seem to work...
> 
> I am creating some charts dynamically so cannot specify this stuff 
> using mxml. Is there a way, at least, to do it programatically -- that
> would also work.
> 
> Chris
> 
> P.S. Yes I have searched for this in the user groups and on the web. I
> see no specific examples for linestokes ( other than mxml).
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: cairngorm: calling a function in a view

2006-11-07 Thread Jamie O
I believe Observe / Value is what I want to use for a current
challenge, but try as I might, I just cannot seem to wrap my head
around it. Hoping someone could take another kick at the cat to
explain it in context of the following situation:

My component (SWC) is defined inside a view and has a public property
that is databound to my modelLocator for it's XML source. When the
right data conditions are met internally it broadcasts an addressEvent
with all user selected data.


When the user provides input data, I broadcast a search event and
receive the updated XML from the services / delegator. There is a
public method - currently titled Update() - in the component to parse
the XML and build up it's display accordingly. Within the view I can
bind a button to that Update() function and the parsing goes smooth.



But the problem is that I only know when the data is updated in the
onResult method of my command that sent the data off in the first place.

How do I - in a command - trigger the method of a component on a view?

Thanks,
Jamie

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
> > Hi Alex,
> > 
> > Thank you very much for addressing this topic in your blog. Using 
> > observe and ObserveValue seems much cleaner than 
> > viewLocator/viewHelper; more direct and less classes. Your 
> examples 
> > illustrate a very useful technique for manipulating local view 
> > states through binding. I wasn't however, able to view the source 
> > for Iteration6. It shows a partial listing of the application mxml 
> > class, but no other classes and download options.
> > 
> > Kudos,
> > -TH





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] File Upload and Cross Domain issues

2006-11-07 Thread sbyrne_dorado
Hi.  I know there is someone who knows the answer.  It may be the
unreachable Ted Patrick, who claims he knows the answer in his blog,
instead of including the solution, has a link that is now dead to the
solution.  I am hoping that someone else @ Adobe also knows the
answer.  PLEASE PLEASE PLEASE reply here if you know how to solve the
following problem:

I am trying to use the fileIO.swf file to provide file upload/download
in a Flex application.  Works everywhere except Firefox when using
HTTPS.  I have read that I can do System.security.loadPolicyFile and
load a different cross doman policy file, and I have done that, but it
does not help.  I have tried using:

 

and
 

with or without 'secure="false"' in both the /crossdomain.xml and in
the  file I load specifically with loadPolicyFile().

I can clearly see the swf file content seems to be loaded, but when I
try to upload I always get an IOError "event", which yields no useful
information other than the fact that something failed. 

Can anyone help me?  Is this something that Flex just can not handle?

Steve




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Re: Fill a Tree From a JAVA Class

2006-11-07 Thread Matias Nicolas Sommi



Is too late, but I read this in a personal search in the history messages.The error of NullPointerException maybe is for:
		for(int i = 0; i < listFiles.length; i++){
			treeNode.getChildren().add(listFiles[i]);			
		}In this sentece, you add childrens to the ArrayList, but the ArrayList never has been initialized.You must to initialize this, for example, in the constructor of the java class, or in the getter if is null.
Regards.-- Matías Nicolás Sommi2006/10/9, frederic_dematos <[EMAIL PROTECTED]>:













  



OK I created my java class TreeNode like that

public class TreeNode {
	
private String label;
private String data;
private ArrayList children;

	public ArrayList getChildren() {
		return children;
	}
	public void setChildren(ArrayList children) {
		this.children = children;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = "">
	}
	public String getLabel() {
		return label;
	}
	public void setLabel(String label) {
		this.label = label;
	}

}

I don't know if it is needed, but i did the same in ActionScript

package src.beans
{
	import mx.collections.ArrayCollection;
	[Managed]
	[RemoteClass(alias="beans.TreeNode")]
	public class TreeNode
	{
	 private var label:String;
 private var data:String;
 private var children:ArrayCollection;

	public function  getChildren():ArrayCollection {
		return children;
	}
	public function  setChildren( children:ArrayCollection):void {
		this.children = children;
	}
	public function  getData():String {
		return data;
	}
	public  function setData( data:String ):void {
		this.data = "">
	}
	public  function getLabel():String {
		return label;
	}
	public  function setLabel( label:String):void {
		this.label = label;
	}
	
	
	}
	
}

In my remoting-config in got 

	
		
			beans.TreeNode
			application
		
	

So then I call a java class webDav method getFiles which do :

IN JAVA
public TreeNode getFiles(){
		
		TreeNode treeNode = new TreeNode();
		
		treeNode.setLabel("Root");
		
		String[]listFiles = this.wdr.list();
		
		for(int i = 0; i < listFiles.length; i++){
			treeNode.getChildren().add(listFiles[i]);			
		}
		
		return treeNode;
	}

IN AS





public function getFilesResult(event:ResultEvent):void{
	 myProjectTree.dataProvider = event.result as TreeNode;
}

and I get the folloing error message :

[RPC Fault faultString="java.lang.NullPointerException : null"
faultCode="Server.Processing" faultDetail="null"]
	at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler
()
	at mx.rpc::Responder/fault()
	at mx.rpc::AsyncRequest/fault()
	at
::NetConnectionMessageResponder/NetConnectionChannel.as$37:NetConnectionMessageResponder::statusHandler()
	at mx.messaging::MessageResponder/status()

Did somebody had an idea ?

The linkage between the Webdav java class and Flex is working, but i
dont know how to make flex understand the TreeNode Class.

Thanks

--- In flexcoders@yahoogroups.com, "Dustin Mercer" <[EMAIL PROTECTED]>
wrote:
>
> Yeah, this is a fun one.  I have done this, but it's not as elegant
as I was hoping, but it works.  What I had to do was create a TreeNode
class.  Looks like this:
> 
>  
> 
> Public class TreeNode {
> 
>  
> 
> Private String label;
> 
> Private String data;
> 
> Private ArrayList children;
> 
>  
> 
> Getters and setters
> 
> }
> 
>  
> 
> The key here is the children property.  The property to hold the
nodes must be named children or the tree won't have any childNodes. 
There is probably better ways to do this, I.E. implementing the
ITreeDataProvider interface on the AS class, but I couldn't get it to
work properly, and haven't had a chance to revisit it.  Does your tree
need to load dynamically (I.E. populate the children with another call
to the database on the nodeOpen event) or will you be loading the
whole tree at once?   If you load dynamically, you will need to make
sure you initialize the children property or that node won't be a folder.
> 
>  
> 
> Dustin Mercer  
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com]
On Behalf Of frederic_dematos
> Sent: Wednesday, October 04, 2006 7:15 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Fill a Tree From a JAVA Class
> 
>  
> 
> Hi,
> 
> I want to fill an mx:Tree from a Java class talking with webDav.
> 
> I am calling my Java class using the Remoting Object.
> 
> On the actionScript I want to call the method getFiles of my Java
> class and give the result to the mx.Tree. The problem is I don't know
> which kind of data and which king of structure to pass to the data
> provider of the tree.
> 
> If somebody had already meet that kind of problem , thanks for your
help.
> 
> Fr�d�ric DE MATOS
>


  















__._,_.___





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

[flexcoders] Re: Security Sandbox and SWF Loader

2006-11-07 Thread sbyrne_dorado
Have you found any solution yet?  I am banging my head into this
problem currently and so far am coming up blank. 

--- In flexcoders@yahoogroups.com, "mindmillmedia" <[EMAIL PROTECTED]>
wrote:
>
> I have spent the day investigating other options - but I must admit, I
> have still come up short. Any other ideas?
> 
> --- In flexcoders@yahoogroups.com, "mindmillmedia" 
> wrote:
> >
> > I am working on a Yahoo Maps app in Flex 2.  Because the Yahoo Maps
> > API doesn't yet fully support Flex 2 - I am making the map (and its
> > API calls) in Flash 8.  This Flash file also pulls data from an RSS
> > feed (to make markers on the map).  There are no security errors when
> > I run the SWF.
> > 
> > However, when I load the SWF into the Flex app, I get security sandbox
> > errors all over the place (for the Map and for the RSS feed - two
> > different domains).
> > 
> > I have the following set in the Flex application:
> > 
> > Security.allowDomain("domain1.com");
> > Security.allowDomain("domain2.com");
> > _context = new LoaderContext (true, ApplicationDomain.currentDomain,
> > SecurityDomain.currentDomain);
> > yahooMap.loaderContext = _context;
> > 
> > I have the following set in the Flash SWF:
> > 
> > System.security.allowDomain("domain1.com");
> > System.security.allowDomain("domain2.com");
> > 
> > I have the following Cross Domain Policy File:
> > 
> > 
> > 
> > 
> >   
> > 
> > 
> > What am I missing?
> >
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Flex Accessibility - TextInput Component

2006-11-07 Thread Mike Shaw





Hi Andrew,
 
we are using JAWS 7.1 and have the scripts 
installed.
 
It doesn't read 
the name out in forms or virtual PC mode.
 
hitting ins+F5 shows the info in this list and unless you 
can suggest a better option this will have to do. (I presume
that this option is well understood by most JAWS users of 
course. Is this a correct assumption?)
 
Thanks,
 
Mike.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew 
KirkpatrickSent: Tuesday, 7 November 2006 1:45 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 
Accessibility - TextInput Component



A bunch of questions:
 
What version of JAWS?
 
Do you have the JAWS scripts installed? (http://www.adobe.com/macromedia/accessibility/features/flex/jaws.html)
 
Try hitting ins+f5 - is your info in this 
list?
 
Do you know about forms mode and virtual PC cursor mode in 
JAWS? You will get some different information out of the controls in each 
mode.  To enter forms mode, navigate to the textinput and hit enter - jaws 
will say "Forms mode on".
 
Background info: 
Virtual PC cursor mode is when JAWS navigates through the 
off-screen model that it constructs for its own purposes.  when in this 
mode (this is the mode that users are in when they enter a page) JAWS listens to 
the keypresses made by the user, acts on some of them and passes some on to the 
browser/player (this is a bit of a simplification).  JAWS uses many 
keystrokes - "f" is used by JAWS to move the virtual focus to the next form 
control, right arrow reads the next character, down arrow reads the next line, 
etc.  If a user wants to enter text into a control such as a textInput, or 
use arrow keys to switch the active tab in a tabnavigator, they need to be in 
forms mode.
 
Forms mode allows user keystrokes to pass through to the 
player/browser.  Additional navigation of the content (e.g. reading line by 
line through non-focusable objects) is not possible, and the user's interaction 
model is basically identical to that of a keyboard-only user.  

 
let me know if this helps,
AWK

Andrew KirkpatrickCorporate Accessibility Engineering 
LeadAdobe Systems

  
  
  From: [EMAIL PROTECTED]ups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Mike 
  ShawSent: Monday, November 06, 2006 6:12 PMTo: 
  [EMAIL PROTECTED]ups.comSubject: [flexcoders] Flex 
  Accessibility - TextInput Component
  
  
  
  Hi, we are building a financial calculator app in 
  flex 2 which is required to be accessible. 
  So far we have got through most of the pitfalls 
  except for one. 
  We have a TextInput which due to the visual design 
  is not in a FormItem (so no label). So instead we assign a name or description property to the 
  accessibilityProperties object. The TextInput may or may not be editable. The question is: 
  How do we get Jaws to read the name or description 
  properties. Currently it is only reading the value. I know the properties are set because I can see them using 
  Microsoft's Inspect32. 
  Any help would be much appreciated. 
  Regards, 
  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
  
  
  

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] possible nested repeater bug??

2006-11-07 Thread Jaime Bermudez



Thanks for the tip, John.  Your suggestion worked in the test app, but in my production app I found that I had to refresh the outer repeater's dataProvider to get things working properly (i.e. rpParent.dataProvider = rpParent.dataProvider
).I'm a bit concerned by this bug b/c it seems like something that would have been caught early on by a simple QA test, but in any case I hope it will be resolved in an upcoming release.Thanks,Jaime
On 11/6/06, John Zhao <[EMAIL PROTECTED]> wrote:







Jaime, 
 
It does seem to be a bug in Repeater.  You can set 
recycleChildren to true on both repeaters and it should work around the problem 
for now.  
 
-John

  
  
  From: John Zhao Sent: Friday, 
  November 03, 2006 3:40 PMTo: 
  'flexcoders@yahoogroups.com'Subject:  RE: [flexcoders] possible 
  nested repeater bug??
  
  Hi Jaime,  
   
  I did reproduce the problem.  While debugging, I 
  notice that the arrayCollection does get populate properly.  So it might 
  be a bug with the display in the nested repeater.  Still checking to see 
  if there is any workaround.
   
  -John
  


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jaime 
BermudezSent: Friday, November 03, 2006 2:22 PMTo: 
flexcoders@yahoogroups.comSubject:  Re: [flexcoders] possible 
nested repeater bug??


Igor, I appreciate you trying to help but I still think the behavior of 
the nested repeater is buggy.  I've had some co-workers run this 
example and they see the same behavior as me.  Can someone from Adobe 
please run this code and help me get it to work as expected? - 
Thanks
On 11/3/06, Igor 
Costa <[EMAIL PROTECTED]> 
wrote: 

  the last one 
  
  On 11/3/06, Jaime 
  Bermudez < 
  [EMAIL PROTECTED]> wrote: 
  




What version of the Flex 2 SDK are you running Igor?

On 11/3/06, Igor 
Costa < 
[EMAIL PROTECTED]> wrote: 

  I see each parent node with their subnodes for each of 
  them.Regards. 
  
  On 11/3/06, Jaime Bermudez <
 
  [EMAIL PROTECTED]> wrote: 
  




Try this:1) Add a parent node by clicking the button in lower 
right-hand corner2) Add a second parent node3) Add a child 
to the first parent nodeWhen I do this, I see that the child 
was added to both the first AND second parent nodes.  What do 
you see? 

On 11/3/06, Igor Costa <
 
[EMAIL PROTECTED]> wrote: 

  I didn't have this problem Jaime.It's works for me. 
  
  On 11/3/06, Jaime Bermudez <
 
  [EMAIL PROTECTED] > wrote: 
  




Hmmm, not sure what you mean Igor.  Can you not get the 
app to compile or run for you?  I just tested moving the 
script block up to the top on my machine and it still 
runs.  Anyone else having issues running this sample app? 


On 11/3/06, Igor Costa <
 
[EMAIL PROTECTED]> wrote:

  
  Jaime I just tested your code and I saw that if you 
  put the mx:script tag after your usage of implementation 
  doesn't work.Just try this one.  xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
 width="100%" 
   height="100%"    
  creationComplete="init()"  >
      
   width="100%"  
  height="100%" title="Testing 
  representing complex structure in nested repeater" 
   >    
     
  dataProvider="{this.dpParent}">  
     
      
  width="100%"    
  paddingLeft="100"    
  text="{rpParents.currentItem.name 
  }"    
  />     label="Add a child to this parent 
  node" 
  click="this.handleAddChildClick(event);" 
  />   
    
         dataProvider="{ 
  rpParents.currentItem.children}"    
  >       
  width="100%"    
  paddingLeft="200"    
  text="{ rpChildren.currentItem.name}"    
  />    
   
      
     width="100%"   
  horizontalAlign="right">      
  label="Clear all 
  parents"   
   

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

2006-11-07 Thread dorkie dork from dorktown
What it means is that the Browser (mozilla in this case) will be able
to use ActionScript 3 to manipulate the dom in addition to existing
JavaScript. So you will have a new Script type on your HTML page:

< Script language="ActionScript">
public var myString:String = "hello html document";
public var myDom:Document;

public function htmlCreationComplete():void {
  alert("hello world"); // pops up alert (not flash but through the browser)
  alert(myDom.body.innerHTML);
}


You will also have seemless serialization and scripting of flash and
javascript. You could access and use either or more seemlessly. Pass
the dom back and forth, etc. (not sure the extent of what you can pass
back and forth).

DDFD

On 11/7/06, mitchgrasso <[EMAIL PROTECTED]> wrote:
> So maybe I am being a little cynical, but it seems that this could be
> Adobe's secret machiavellian plan to drive further differentiation in
> AJAX/Javascript compatibility between IE and Firefox, resulting in
> webapp engineers getting frustrated with porting between the two
> browsers and migrating to Flex :-)
>
>
>
> --- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
> <[EMAIL PROTECTED]> wrote:
> >
> > Once again, Gordon takes the cake for the best clear and concise
> > explanation of a topic. I have read at least 20 descriptions of this
> > stuff today and this is the first one that has made complete sense.
> > (The others ranged from 'almost getting it' to 'no clue what the
> hell
> > that means'.) Thanks Gordon!
> >
> > Ben
> >
> >
> > --- In flexcoders@yahoogroups.com, "Gordon Smith"  wrote:
> > >
> > > This is a major contribution from Adobe to the open-source
> community,
> > > but let me try to clarify what it is and what is isn't. The code
> being
> > > open-sourced is for the core AS3 language, not for anything
> specific to
> > > Flash. The contributed engine is able to execute a program that
> uses
> > > core classes of the language like Array, Date, RegExp, and XML.
> It is
> > > not be able to execute a program that use Flash-specific classes
> like
> > > Sprite, TextField, SharedObject, or URLLoader. In particular it
> supports
> > > no Flash graphics.
> > >
> > > 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 adding classes 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.
> > >
> > > So this has nothing to do with putting Flash into Firefox.
> Firefox users
> > > will still require the Flash plugin to run SWFs. But contributing
> a
> > > high-performance virtual machine for a type-checked, object-
> oriented
> > > language is still a big deal!
> > >
> > > - Gordon
> > >
> > > 
> > >
> > > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> > > Behalf Of jrunrandy
> > > Sent: Tuesday, November 07, 2006 5:28 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: Tamarin, Adobe open source the Flash
> player ?
> > >
> > >
> > >
> > > Here is my understanding:
> > >
> > > Adobe is not open sourcing the Flash Player. Adobe *is*
> contributing
> > > source code for the ActionScript Virtual Machine, the scripting
> > > language engine component within Flash Player. ActionScript 3.0
> runs
> > > on the Tamarin virtual machine in Flash Player 9.
> > >
> > > I'm sure there are others who can clarify this further.
> > >
> > > Randy Nielsen
> > > Flex Documentation Manager
> > >
> >
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] XML to Value Object?

2006-11-07 Thread Jon Gauthier



Is there a clean way to map an xml model to AS classes? If so, also maintain binding relationships with ui elements so the XML could be shipped back to the server eventually?Thank you,jon

__._,_.___





--
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] setting stroke and/or liine stroke in charts via a stylesheet

2006-11-07 Thread Ely Greenfield





 
 
Yeah, unfortunately you can't specify objects in 
CSS...meaning no strokes or fills (sort of...we cheat and convert numbers to 
SolidColor fills).
 
 
I have some code that allows you to specify MXML 
stylesheets, which can include arbitrary MXML in them.  Check it out in the 
ChartSampler:
 
 
http://www.quietlyscheming.com/blog/charts/chart-sampler/
 
Ely.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
zenwardenSent: Tuesday, November 07, 2006 1:06 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] setting stroke and/or 
liine stroke in charts via a stylesheet


Does anyone have an example of using a stylesheet to set the stokeweight 
and color of a linechart/lineseries?Here is the style I am 
using.myChart {fontSize: 12;color: 
#FF;}.myLineSeries {form: 
segmet;}I would like to add 
something like:lineStroke="Stroke(0xE47801,3)"But 
that does not seem to work...I am creating some charts dynamically so 
cannot specify this stuff using mxml. Is there a way, at least, to do it 
programatically -- thatwould also work.ChrisP.S. Yes I have 
searched for this in the user groups and on the web. Isee no specific 
examples for linestokes ( other than mxml).
__._,_.___





--
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] Channel.Connect.Failed

2006-11-07 Thread Cathy Reilly






The context-root is not 
specified correctly.  The context-root is not a path on the 
server.
 
This issue and the resolution and discussed in the 
following tech note -
 
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=e329643d
 
- 
Cathy


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JaySent: 
Tuesday, November 07, 2006 2:12 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] 
Channel.Connect.Failed


I have a copuple different servers setup to work on several 
projects.On one server I can build, test and run a small application 
utilizing a CFC to pull data from a database.if I move this flex 
application to another CF server and try to run it I get this 
error[RPC Fault faultString="Send failed" 
faultCode="Client.Error.MessageSend" 
faultDetail="Channel.Connect.Failed error 
NetConnection.Call.Failed: HTTP: Status 404"]I can make the 
error go awa by addig this (-context-root "D:\Inetpub\wwwroot"to my 
additional complier arguments : settings but it returns no data, do not get 
an error and looks like nothing is happening.any thoughts out 
there?? 
__._,_.___





--
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: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread Gordon Smith





Microsoft will almost surely support ECMScript 4 / 
_javascript_ 2 in IE when the language committee finishes the specification of the 
language. They're participating on this committee along with Adobe and 
Mozilla. I believe they're also free to use the open-soruce implementation that 
we're donating, if they don't want to do their own 
implementation.
 
- Gordon


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
mitchgrassoSent: Tuesday, November 07, 2006 11:17 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
Tamarin, Adobe open source the Flash player ?


So maybe I am being a little cynical, but it seems that this could be 
Adobe's secret machiavellian plan to drive further differentiation in 
AJAX/_javascript_ compatibility between IE and Firefox, resulting in 
webapp engineers getting frustrated with porting between the two 
browsers and migrating to Flex :-)--- In [EMAIL PROTECTED]ups.com, 
"ben.clinkinbeard" ...> wrote:>> 
Once again, Gordon takes the cake for the best clear and concise> 
explanation of a topic. I have read at least 20 descriptions of this> 
stuff today and this is the first one that has made complete sense.> (The 
others ranged from 'almost getting it' to 'no clue what the hell> 
that means'.) Thanks Gordon!> > Ben> > > --- 
In [EMAIL PROTECTED]ups.com, 
"Gordon Smith"  wrote:> >> > This is a major 
contribution from Adobe to the open-source community,> > but let 
me try to clarify what it is and what is isn't. The code being> > 
open-sourced is for the core AS3 language, not for anything specific 
to> > Flash. The contributed engine is able to execute a program that 
uses> > core classes of the language like Array, Date, RegExp, and 
XML. It is> > not be able to execute a program that use 
Flash-specific classes like> > Sprite, TextField, SharedObject, or 
URLLoader. In particular it supports> > no Flash graphics.> 
> > > 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 adding classes 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.> > > > So this has nothing to 
do with putting Flash into Firefox. Firefox users> > will still 
require the Flash plugin to run SWFs. But contributing a> > 
high-performance virtual machine for a type-checked, object-oriented> 
> language is still a big deal!> > > > - Gordon> 
> > > > > 
> > From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On> > Behalf Of jrunrandy> > Sent: Tuesday, November 07, 
2006 5:28 AM> > To: [EMAIL PROTECTED]ups.com> 
> Subject: [flexcoders] Re: Tamarin, Adobe open source the Flash player 
?> > > > > > > > Here is my 
understanding:> > > > Adobe is not open sourcing the Flash 
Player. Adobe *is* contributing > > source code for the 
ActionScript Virtual Machine, the scripting > > language engine 
component within Flash Player. ActionScript 3.0 runs > > on the 
Tamarin virtual machine in Flash Player 9.> > > > I'm sure 
there are others who can clarify this further.> > > > Randy 
Nielsen> > Flex Documentation Manager> 
>>
__._,_.___





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

  




__,_._,___



[flexcoders] setting stroke and/or liine stroke in charts via a stylesheet

2006-11-07 Thread zenwarden
Does anyone have an example of using a stylesheet to set the stoke
weight and color of a linechart/lineseries?

Here is the style I am using


.myChart {

fontSize: 12;
color: #FF;


}

.myLineSeries {

form: segmet;



}


I would like to add 
something like:

lineStroke="Stroke(0xE47801,3)"

But that does not seem to work...

I am creating some charts dynamically so cannot specify this stuff 
using mxml. Is there a way, at least, to do it programatically -- that
would also work.



Chris

P.S. Yes I have searched for this in the user groups and on the web. I
see no specific examples for linestokes ( other than mxml).




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] where to drop on tree

2006-11-07 Thread Deepa Subramaniam










The calculateDropIndex method in Tree will
tell you the index of the dropped node and then you can lookup the id of the
node at that location to update your database. 

 

If you  need more information then that (ie:
the parent node of the drop, whether you’re dropping into an empty
folder, etc), look at the updateDropData method in Tree to see how that
information is calculated. Currently in Flex 2, updateDropData and the data
object carrying all that relevant information (dropData) are private. In the
next release of Flex, dropData will be public so all the relevant drop
information will be accessible.

 

HTH –

deepa

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jesús Iglesias
Sent: Tuesday, November 07, 2006
10:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] where to
drop on tree



 



Hi again,





 





Thanks to you I have found that, on drag and drop with
trees, data comes on treeItems. :)





 





Now i have one more problem. What I'm trying to do is a tree
where you can move elements from one node to another and dispatch an event to
upgrade database, so I need to know the new node where you drop the item
(dataprovider is xml) and update databse with the ID of this node.





I alsa need to update the order of this item y the node, one
of the main features of the aplicacion is to order items on a node.





 





I don't know where to begin, I do drag and drop fine and get
"treeItems" moved, but I don't know how to get the info I need.





 





 





Thanks again,





Jesus









__._,_.___





--
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] List & Bitmap

2006-11-07 Thread kribot
On 11/7/06, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> On Tuesday 07 November 2006 15:20, kribot wrote:
> > No, for the moment I just use the dataProvider property and give it an
> > Array of string or int. I don't get it, how you could add a bitmap & a
> > string in the same row..
>
> You said  "I create a class which extends List".
> In this new class, you'd replace the storage internals with something that can
> store any type of thing.
>
> Now you're talking about using the dataProvider of something - a DataGrid or
> something ? You might want to look at a custom itemRenderer.
>

Yep, I said i create a new class in which I want to had a function to
add an image in a specific row but I don't see how :) So for the time
being, i used the dataprovider thing to fill my List but now i'll try
to see what I could do with the setItem and itemRenderer.

Thx for your help !

-- 
krib


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: custom Panels original size

2006-11-07 Thread jnewport
Ok, figured it out.  I call my getSized() function, which captures the
original height inside the updateDisplayList.

For those who want a resizeable panel here is what I came up with
using others work. I haven't found any bugs with it yet.  If you run
across anything let me know.

/Final code///

// ActionScript file
package components{
  import mx.containers.Panel;
  import mx.controls.Button;
  import flash.events.Event;
  import flash.display.DisplayObject;
  
  [Event(name="restore")]
  [Event(name="minimize")]
  public class MaxRestorePanel extends Panel {
private var state:int = 0; 
private var btStateUp: Button;
private var btStateDown: Button;
private var originalHeight:Number;
private var boolSized:Boolean = false;
private var hdHeight:Number;
 
[Embed("../assets/upArrow.gif")]
private var buttonUpIcon:Class;
[Embed("../assets/downArrow.gif")]
private var buttonDownIcon:Class;


private function getSized():void
{
if(boolSized == false){
originalHeight = this.height;
trace(originalHeight);
boolSized = true;
trace(boolSized);
}

}
 
private function minimizePanel():void {
   getSized();
   hdHeight = this.getStyle('headerHeight');
   this.height = hdHeight + 15;
 }   

 private function restorePanel():void {
this.percentHeight = 100;
}

 


private function setState(state:int):void{
   this.state=state;
   if (state==0){ // Minimized
  this.dispatchEvent(new Event('restore'));
   } else {
this.dispatchEvent(new Event('minimize'));
   }
}

private function doMinimize(event:Event) :void{
 setState(1);
 btStateUp.visible = false;
 btStateDown.visible = true;
 minimizePanel();

}

private function doRestore(event:Event) :void{
 setState(0);
 btStateUp.visible = true;
 btStateDown.visible = false;
 restorePanel();

}

protected override function createChildren(): void {  
 super.createChildren();
 btStateUp = new Button();
 btStateDown = new Button();
 btStateUp.addEventListener("click",doMinimize);
 btStateDown.addEventListener("click",doRestore);
 btStateUp.setStyle("overIcon",buttonUpIcon);
 btStateUp.setStyle("downIcon",buttonUpIcon);
 btStateUp.setStyle("upIcon",buttonUpIcon);
 btStateDown.setStyle("overIcon",buttonDownIcon);
 btStateDown.setStyle("downIcon",buttonDownIcon);
 btStateDown.setStyle("upIcon",buttonDownIcon);
 btStateUp.visible =true;
 btStateDown.visible =false;
 rawChildren.addChild(btStateUp);
 rawChildren.addChild(btStateDown);
  }
  
  protected override function updateDisplayList(unscaledWidth: Number,
unscaledHeight:Number):void  {
super.updateDisplayList(unscaledWidth, unscaledHeight);
  if(unscaledWidth > 0){
this.visible = true;
  } else {
this.visible = false
 }
 var upAsset:DisplayObject = btStateUp.getChildByName("upIcon");
 var downAsset:DisplayObject = btStateDown.getChildByName("upIcon");
 var margin:int = 4;
 btStateUp.setActualSize(upAsset.width+margin, upAsset.height+margin);
 btStateDown.setActualSize(downAsset.width+margin,
downAsset.height+margin);
 var pixelsFromTop:int = 5;
 var pixelsFromRight:int = 10;
 var buttonWidth:int=btStateUp.width;
 var x:Number = unscaledWidth - buttonWidth - pixelsFromRight;
 var y:Number = pixelsFromTop;
 btStateDown.move(x, y);
 btStateUp.move(x, y);
 getSized();
}
  }
}

/End final code //




--- In flexcoders@yahoogroups.com, "jnewport" <[EMAIL PROTECTED]> wrote:
>
> I tried both your overrides, but they caputer the height property as
> "0".  Maybe they are trying to read the height before the compenent is
> created?
> 
> Although I would think that childrenCreated() would be one of last
> methods called when a panel is created?
> 
> Anyone else have anys suggestions?  Here is my entire code for the
> custom resizeable Panel taken from
> http://jeff.mxdj.com/flex_2_maxrestorepanel_class.htm
> 
> I have made some enhancements so that the resizing code is in the
> class rather than using the restore and minimize events. 
> 
> The issue is that I am using two of these custom panels per view, one
> on top of the other.  So if you minimize say the top customPanel1 the
> lower customPanel2 expands automatically to take up the space (which
> it should do), but if you then try to minimize the bottom customPanel2
> (so both are minimized) it will set the bottom customPanel2's
> originalHeight to the expanded version (caused when it expanded to
> take up the extra space). 
> 
> That probably confused you..what I am trying to do is capture

[flexcoders] Channel.Connect.Failed

2006-11-07 Thread Jay
I have a copuple different servers setup to work on several projects.

On one server I can build, test and run a small application utilizing a 
CFC to pull data from a database.

if I move this flex application to another CF server and try to run it 
I get this error

[RPC Fault faultString="Send failed" 
faultCode="Client.Error.MessageSend" 
faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: 
HTTP: Status 404"]

I can make the error go awa by addig this (-context-
root "D:\Inetpub\wwwroot"to my additional complier arguments : settings 
but it returns no data, do not get an error and looks like nothing is 
happening.

any thoughts out there?? 




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Barchart - trying to make it display the way i want

2006-11-07 Thread Matt Horn
> Actually, there's no simple example in the docs of how to 
> change the bar color!

Sure there is! See "Using fills" in the Developer's Guide. Here's a
link:

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

hth,

matt horn
flex docs
 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of dj
> Sent: Monday, November 06, 2006 7:59 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Barchart - trying to make it 
> display the way i want
> 
> Ely:
> Thanks tip 1 you gave me worked.
> 
> Tip 2, i don't know how to use the IFill property on the 
> barSeries, trying to do so gives me a conversion error. I 
> need a clear example of that.
> I'm trying to put images, small ones, like 50x50 images next 
> to each of the bars.
> 
> Actually, there's no simple example in the docs of how to 
> change the bar color!
> 
> Thanks,
> Patrick
> 
> Ely Greenfield wrote:
> > 
> > 
> > Hi Patrick. Look at:
> > 
> > 1) the barWidthRatio and maxBarWidth properties on barChart (or 
> > barSeries, if you're not using a barChart).
> > 2) the fill style on barSeries to change the colors.
> > 
> > 
> > tell me more about what it is you want to do with images, and I can 
> > give you more help.
> > 
> > Ely.
> > 
> >
> > --
> > *From:* flexcoders@yahoogroups.com 
> >   
> > [mailto:flexcoders@yahoogroups.com 
> >  ] *On Behalf Of *dj
> > *Sent:* Sunday, November 05, 2006 7:00 PM
> > *To:* flexcoders@yahoogroups.com 
> 
> > *Subject:* [flexcoders] Barchart - trying to make it 
> display the way i 
> > want
> >
> > trying to finagle with a barchart, how do i change the 
> widths of the 
> > bars and the spacing between the bars and the color of the bars?
> >
> > Also, if i want to put images next to the bars - would i do 
> that with 
> > a canvas and in AS3?
> >
> > thanks
> > Patrick
> >
> > 
> 
> 
> 
>  
> 


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Image Scroller

2006-11-07 Thread Daniel Freiman



I need an image scroller.  It's a standard concept.  You have a set of images in a horizontal list and the list is animated to scroll from right to left.  It never stops scrolling because the images are looped (it's like the text scrollers people used to make in Java when applets first showed up).
This seems to me like it should be easy but the looping is throwing me.Some extra incentive to help me: it's for a charitable non-profit (a local Boys and Girls Club).  (Yes I'm channeling my mother to try and guilt people.)
- Dan

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

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: Eclipse becoming HORRIBLY slow??

2006-11-07 Thread Steve Kellogg @ Project SOC
I don't THINK I'm doing ANYTHING that should be PO'ing ANYONE

At first, I thought the problem might be that I'm also running Visual Studio
(local Web Services, etc), but I'm able to recreate the problem when
VStudio, and the localhost server isn't even running.

I sure appreciate all of this feedback.  Maybe we can help Adobe figure out
what's wrong so they can fix it.


Steve



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Peterson, Chris
Sent: Tuesday, November 07, 2006 12:46 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Eclipse becoming HORRIBLY slow??

Do you have a large file, perhaps a cfc or something?  Eclipse seems to get
really PO'd with me when I have 3000+ line templates, mostly multi-function
CFC's, and I see this same thing, very slow typing response, and delayed
appearance of my text.

Chris 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of camlinaeizerous
Sent: Tuesday, November 07, 2006 2:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Eclipse becoming HORRIBLY slow??

It is not an XP only issue as I have seen it happen on win2k also.

--- In flexcoders@yahoogroups.com  ,
"Steve Kellogg @ Project SOC"
<[EMAIL PROTECTED]> wrote:
>
> J,
> 
> I actually think that that's (at least part of) the problem.
> 
> It FEELS like memory is being swapped, etc. I can't yet prove it, but 
> I won't be surprised a bit if I find a garbage collection or swap file 
> problem.
> 
> Steve
> 
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com   
> [mailto:flexcoders@yahoogroups.com 
>  ] On Behalf Of jnewport
> Sent: Tuesday, November 07, 2006 10:44 AM
> To: flexcoders@yahoogroups.com 
> Subject: [flexcoders] Re: Eclipse becoming HORRIBLY slow??
> 
> Do you let Eclipse sit for a while, say checking email or other items?
> 
> You have probably tried this but...
> 
> There was blog somewhere that said XP holds the memory or something 
> when not using Flex Builder. Try to minimize and restore Flex Builder 
> two or three times and see if that doesn't help (release usage).
> 
> j
> 
> --- In flexcoders@yahoogroups.com  ,
Constantiner  wrote:
> >
> > Are there any includes in the class hierarchy?
> > 
> > --
> > Best regards,
> > Constantiner mailto:constantiner@
> > 
> > 
> > SKPS> Hello,
> > SKPS> I'm using FB2 on WinXP on a fairly modern laptop (core duo).
> > SKPS> I seem to be having a great deal of trouble lately with 
> > SKPS> FlexBuilder's TEXT EDITOR (in SOURCE MODE) getting VERY VERY 
> > SKPS> SLOW.¹ Slow means that I can type a 32 character line, and see 
> > SKPS> a
> > SKPS> 10-15 second delay before all of the characters show up on the
> screen.
> > SKPS>
> > SKPS> Is there some sort of GARBAGE COLLECTION that might be getting 
> > SKPS> in the way of smooth operation?¹ Are there any known
> conditions that I should be avoiding?
> > SKPS>
> > SKPS> Thanks in advance,
> > SKPS>
> > SKPS> Steve
> > SKPS>
> > SKPS> Steve Kellogg
> > SKPS> Peak8 Solutions
> > SKPS> 1401 14th Street
> > SKPS> Boulder, Colorado
> > SKPS> 80302, USA
> > SKPS> Fax: 303.415.2597
> > SKPS> E-Mail: stevek@
> >
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
> 
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
  
> Yahoo! Groups Links
>



 


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








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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Re: Eclipse becoming HORRIBLY slow??

2006-11-07 Thread Steve Kellogg @ Project SOC
I know we have a number of Adobe folks on this list..  

Can any of you guys comment as to whether you've seen this, and if there's
any fix on the horizon?  

Can you help us nail down the CAUSE, or suggest a work around?

Thanks in Advance

Steve



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of camlinaeizerous
Sent: Tuesday, November 07, 2006 12:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Eclipse becoming HORRIBLY slow??

It is not an XP only issue as I have seen it happen on win2k also.

--- In flexcoders@yahoogroups.com, "Steve Kellogg @ Project SOC"
<[EMAIL PROTECTED]> wrote:
>
> J,
> 
> I actually think that that's (at least part of) the problem.
> 
> It FEELS like memory is being swapped, etc.  I can't yet prove it, but I
> won't be surprised a bit if I find a garbage collection or swap file
> problem.
> 
> Steve
> 
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jnewport
> Sent: Tuesday, November 07, 2006 10:44 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Eclipse becoming HORRIBLY slow??
> 
> Do you let Eclipse sit for a while, say checking email or other items?
> 
> You have probably tried this but...
> 
> There was blog somewhere that said XP holds the memory or something
> when not using Flex Builder.  Try to minimize and restore Flex Builder
> two or three times and see if that doesn't help (release usage).  
> 
> j
> 
> --- In flexcoders@yahoogroups.com, Constantiner  wrote:
> >
> > Are there any includes in the class hierarchy?
> > 
> > -- 
> > Best regards,
> >  Constantinermailto:constantiner@
> > 
> > 
> > SKPS> Hello,
> > SKPS> I'm using FB2 on WinXP on a fairly modern laptop (core duo).
> > SKPS> I seem to be having a great deal of trouble lately with
> > SKPS> FlexBuilder's TEXT EDITOR (in SOURCE MODE) getting VERY VERY
> > SKPS> SLOW.¹ Slow means that I can type a 32 character line, and see a
> > SKPS> 10-15 second delay before all of the characters show up on the
> screen.
> > SKPS>
> > SKPS> Is there some sort of GARBAGE COLLECTION that might be getting
> > SKPS> in the way of smooth operation?¹ Are there any known
> conditions that I should be avoiding?
> > SKPS>
> > SKPS> Thanks in advance,
> > SKPS>
> > SKPS> Steve
> > SKPS>
> > SKPS> Steve Kellogg
> > SKPS> Peak8 Solutions
> > SKPS> 1401 14th Street
> > SKPS> Boulder, Colorado
> > SKPS> 80302, USA
> > SKPS> Fax: 303.415.2597
> > SKPS> E-Mail: stevek@
> >
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>





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








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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Re: Eclipse becoming HORRIBLY slow??

2006-11-07 Thread Peterson, Chris
Do you have a large file, perhaps a cfc or something?  Eclipse seems to get 
really PO'd with me when I have 3000+ line templates, mostly multi-function 
CFC's, and I see this same thing, very slow typing response, and delayed 
appearance of my text.

Chris 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
camlinaeizerous
Sent: Tuesday, November 07, 2006 2:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Eclipse becoming HORRIBLY slow??

It is not an XP only issue as I have seen it happen on win2k also.

--- In flexcoders@yahoogroups.com  , 
"Steve Kellogg @ Project SOC"
<[EMAIL PROTECTED]> wrote:
>
> J,
> 
> I actually think that that's (at least part of) the problem.
> 
> It FEELS like memory is being swapped, etc. I can't yet prove it, but 
> I won't be surprised a bit if I find a garbage collection or swap file 
> problem.
> 
> Steve
> 
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com   
> [mailto:flexcoders@yahoogroups.com 
>  ] On Behalf Of jnewport
> Sent: Tuesday, November 07, 2006 10:44 AM
> To: flexcoders@yahoogroups.com 
> Subject: [flexcoders] Re: Eclipse becoming HORRIBLY slow??
> 
> Do you let Eclipse sit for a while, say checking email or other items?
> 
> You have probably tried this but...
> 
> There was blog somewhere that said XP holds the memory or something 
> when not using Flex Builder. Try to minimize and restore Flex Builder 
> two or three times and see if that doesn't help (release usage).
> 
> j
> 
> --- In flexcoders@yahoogroups.com  , 
> Constantiner  wrote:
> >
> > Are there any includes in the class hierarchy?
> > 
> > --
> > Best regards,
> > Constantiner mailto:constantiner@
> > 
> > 
> > SKPS> Hello,
> > SKPS> I'm using FB2 on WinXP on a fairly modern laptop (core duo).
> > SKPS> I seem to be having a great deal of trouble lately with 
> > SKPS> FlexBuilder's TEXT EDITOR (in SOURCE MODE) getting VERY VERY 
> > SKPS> SLOW.¹ Slow means that I can type a 32 character line, and see 
> > SKPS> a
> > SKPS> 10-15 second delay before all of the characters show up on the
> screen.
> > SKPS>
> > SKPS> Is there some sort of GARBAGE COLLECTION that might be getting 
> > SKPS> in the way of smooth operation?¹ Are there any known
> conditions that I should be avoiding?
> > SKPS>
> > SKPS> Thanks in advance,
> > SKPS>
> > SKPS> Steve
> > SKPS>
> > SKPS> Steve Kellogg
> > SKPS> Peak8 Solutions
> > SKPS> 1401 14th Street
> > SKPS> Boulder, Colorado
> > SKPS> 80302, USA
> > SKPS> Fax: 303.415.2597
> > SKPS> E-Mail: stevek@
> >
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
> 
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
> Yahoo! Groups Links
>



 


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Image in tab

2006-11-07 Thread k4rth4l
Thank you ! This is right what i'm looking for !




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Eclipse becoming HORRIBLY slow??

2006-11-07 Thread camlinaeizerous
It is not an XP only issue as I have seen it happen on win2k also.

--- In flexcoders@yahoogroups.com, "Steve Kellogg @ Project SOC"
<[EMAIL PROTECTED]> wrote:
>
> J,
> 
> I actually think that that's (at least part of) the problem.
> 
> It FEELS like memory is being swapped, etc.  I can't yet prove it, but I
> won't be surprised a bit if I find a garbage collection or swap file
> problem.
> 
> Steve
> 
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jnewport
> Sent: Tuesday, November 07, 2006 10:44 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Eclipse becoming HORRIBLY slow??
> 
> Do you let Eclipse sit for a while, say checking email or other items?
> 
> You have probably tried this but...
> 
> There was blog somewhere that said XP holds the memory or something
> when not using Flex Builder.  Try to minimize and restore Flex Builder
> two or three times and see if that doesn't help (release usage).  
> 
> j
> 
> --- In flexcoders@yahoogroups.com, Constantiner  wrote:
> >
> > Are there any includes in the class hierarchy?
> > 
> > -- 
> > Best regards,
> >  Constantinermailto:constantiner@
> > 
> > 
> > SKPS> Hello,
> > SKPS> I'm using FB2 on WinXP on a fairly modern laptop (core duo).
> > SKPS> I seem to be having a great deal of trouble lately with
> > SKPS> FlexBuilder's TEXT EDITOR (in SOURCE MODE) getting VERY VERY
> > SKPS> SLOW.¹ Slow means that I can type a 32 character line, and see a
> > SKPS> 10-15 second delay before all of the characters show up on the
> screen.
> > SKPS>
> > SKPS> Is there some sort of GARBAGE COLLECTION that might be getting
> > SKPS> in the way of smooth operation?¹ Are there any known
> conditions that I should be avoiding?
> > SKPS>
> > SKPS> Thanks in advance,
> > SKPS>
> > SKPS> Steve
> > SKPS>
> > SKPS> Steve Kellogg
> > SKPS> Peak8 Solutions
> > SKPS> 1401 14th Street
> > SKPS> Boulder, Colorado
> > SKPS> 80302, USA
> > SKPS> Fax: 303.415.2597
> > SKPS> E-Mail: stevek@
> >
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] checkCellRender Validation

2006-11-07 Thread Valy Sivec


Hi Stephen,Sorry, didn't realize that the page was part of the frame... Here is the document I was referencing: http://livedocs.macromedia.com/flex/2/docs/0867.htmlThe tasks I have seems pretty basic, have a grid with multiple columns and only 2 columns should be editable. I want to be able validate the cell  content at edit. As you said the reason property of the DataGrid event doen't work correctly and seems that I have ran out of luck tryingDo you have any work around? Any advice?I'm kinda stuck right nowThank you for the message.Valy- Original Message From: Stephen Gilson <[EMAIL PROTECTED]>To: flexcoders@yahoogroups.comSent: Tuesday, November 7, 2006 1:24:16 PMSubject: RE: [flexcoders] checkCellRender Validation











Hi Valy,
 
In Flex 2, there was an issue with the reason property of 
the DataGridEvent and ListEvent class not being set properly when you change 
cell focus. Which example is this? The page you mention takes me to a page with 
no example on it.
 
Stephen


From: [EMAIL PROTECTED] ups.com 
[mailto:flexcoders@ yahoogroups. com] On Behalf Of Valy 
SivecSent: Tuesday, November 07, 2006 1:18 AMTo: 
[EMAIL PROTECTED] ups.comSubject: RE: [flexcoders] checkCellRender 
Validation


Hello flexcoders,I've spent the last few hours trying to validate a 
cell on a editable datagrid without any luck. Do you have any example?. The 
example from the adobe docs doesn't work :(. It seems that preventDefault( ) 
always works for tab but not for the 
mousehttp://livedocs. macromedia. com/flex/ 2/docs/wwhelp/ wwhimpl/common/ html/wwhelp. htm?context= LiveDocs_ Parts&file=0857. html#230761Any 
help is greatly appreciated,Thanks,Valy


Get your email and see which of your friends are online - Right on the new 
Yahoo.com 


  




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

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] problem finding mx.data package in FDS

2006-11-07 Thread Jeff Vroom












Actually, it is “fds.swc”.  If
you install fds, it is in: …\fds2\flex_sdk_2\frameworks\libs.   You need
to add this to the library path of your Flex Build Path in your project.

 

Jeff

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Seth
 Hodgson
Sent: Tuesday, November 07, 2006
11:05 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] problem
finding mx.data package in FDS



 







Hi MZ,

You need to compile against the enterprise.swc that ships with FDS.

HTH,
Seth


From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of michel.zaouia
Sent: Tuesday, November 07, 2006 6:12 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] problem finding mx.data package in FDS

Hello,

I'm trying to use mx.data classes to complete some flex tutorials. But 
i can't find this classes in Flex Data Services (i'm currently using 
the express edition). As far i know this package is included in FDS but 
not in the Flex SDK. So how to use it ?

Best regards,

MZ






__._,_.___





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

  




__,_._,___






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

2006-11-07 Thread mitchgrasso
So maybe I am being a little cynical, but it seems that this could be 
Adobe's secret machiavellian plan to drive further differentiation in 
AJAX/Javascript compatibility between IE and Firefox, resulting in 
webapp engineers getting frustrated with porting between the two 
browsers and migrating to Flex :-)



--- In flexcoders@yahoogroups.com, "ben.clinkinbeard" 
<[EMAIL PROTECTED]> wrote:
>
> Once again, Gordon takes the cake for the best clear and concise
> explanation of a topic. I have read at least 20 descriptions of this
> stuff today and this is the first one that has made complete sense.
> (The others ranged from 'almost getting it' to 'no clue what the 
hell
> that means'.) Thanks Gordon!
> 
> Ben
> 
> 
> --- In flexcoders@yahoogroups.com, "Gordon Smith"  wrote:
> >
> > This is a major contribution from Adobe to the open-source 
community,
> > but let me try to clarify what it is and what is isn't. The code 
being
> > open-sourced is for the core AS3 language, not for anything 
specific to
> > Flash. The contributed engine is able to execute a program that 
uses
> > core classes of the language like Array, Date, RegExp, and XML. 
It is
> > not be able to execute a program that use Flash-specific classes 
like
> > Sprite, TextField, SharedObject, or URLLoader. In particular it 
supports
> > no Flash graphics.
> >  
> > 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 adding classes 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.
> >  
> > So this has nothing to do with putting Flash into Firefox. 
Firefox users
> > will still require the Flash plugin to run SWFs. But contributing 
a
> > high-performance virtual machine for a type-checked, object-
oriented
> > language is still a big deal!
> >  
> > - Gordon
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> > Behalf Of jrunrandy
> > Sent: Tuesday, November 07, 2006 5:28 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Tamarin, Adobe open source the Flash 
player ?
> > 
> > 
> > 
> > Here is my understanding:
> > 
> > Adobe is not open sourcing the Flash Player. Adobe *is* 
contributing 
> > source code for the ActionScript Virtual Machine, the scripting 
> > language engine component within Flash Player. ActionScript 3.0 
runs 
> > on the Tamarin virtual machine in Flash Player 9.
> > 
> > I'm sure there are others who can clarify this further.
> > 
> > Randy Nielsen
> > Flex Documentation Manager
> >
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] DataGrid Scroll Size

2006-11-07 Thread t8.chad
I have a DataGrid that is 400 px in height but many of the rows in the
DataGrid are taller than 400 px.  When viewing a tall row, I scroll
the DataGrid down to see the rest of the row but it skips to the next
row instead of scrolling through it.  Is there a way to make the
DataGrid scroll according to the height of the DataGrid rather than
the height of its rows?




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



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

2006-11-07 Thread Gordon Smith





Thanks!
 
Now that ya'll understand what Adobe is doing, what are 
your reactions?
 
- Gordoon


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
ben.clinkinbeardSent: Tuesday, November 07, 2006 10:37 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
Tamarin, Adobe open source the Flash player ?


Once again, Gordon takes the cake for the best clear and 
conciseexplanation of a topic. I have read at least 20 descriptions of 
thisstuff today and this is the first one that has made complete 
sense.(The others ranged from 'almost getting it' to 'no clue what the 
hellthat means'.) Thanks Gordon!Ben--- In [EMAIL PROTECTED]ups.com, 
"Gordon Smith" <[EMAIL PROTECTED]> wrote:>> This is a major 
contribution from Adobe to the open-source community,> but let me try to 
clarify what it is and what is isn't. The code being> open-sourced is for 
the core AS3 language, not for anything specific to> Flash. The 
contributed engine is able to execute a program that uses> core classes 
of the language like Array, Date, RegExp, and XML. It is> not be able to 
execute a program that use Flash-specific classes like> Sprite, 
TextField, SharedObject, or URLLoader. In particular it supports> no 
Flash graphics.> > 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 adding classes 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.> > So this has nothing to do with putting Flash into 
Firefox. Firefox users> will still require the Flash plugin to run SWFs. 
But contributing a> high-performance virtual machine for a type-checked, 
object-oriented> language is still a big deal!> > - 
Gordon> > > 
> From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On> Behalf Of jrunrandy> Sent: Tuesday, November 07, 2006 5:28 
AM> To: [EMAIL PROTECTED]ups.com> 
Subject: [flexcoders] Re: Tamarin, Adobe open source the Flash player ?> 
> > > Here is my understanding:> > Adobe is 
not open sourcing the Flash Player. Adobe *is* contributing > source code 
for the ActionScript Virtual Machine, the scripting > language engine 
component within Flash Player. ActionScript 3.0 runs > on the Tamarin 
virtual machine in Flash Player 9.> > I'm sure there are others 
who can clarify this further.> > Randy Nielsen> Flex 
Documentation Manager>
__._,_.___





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

  




__,_._,___



[flexcoders] Content layout suggestions?

2006-11-07 Thread Troy Rollins
For my first Flex project, I'm developing a Flex version of an AS2
project I've done. The client is looking to do an update, and this
seems like a good time to move it to Flex. It has been easy to layout
the interface and wire it up (of course), but I'm not clear on how
best to use the Flex metaphor for the content layout, and am seeking
suggestions, links, or whatever.

Basically, it is training content, and takes the form of a bunch of
"interactive slide pages", with some ancillary functionality already
provided by the rest of the interface.

So, what I'm wondering is how to manage and layout the actual content.
Something like a customized ViewStack for each "chapter"? Some of it
will be linked SWF files, but not all of it, and I'd like to keep
things as easy to work with as possible, since there will be a fair
amount of content. I would think that a single enormous application
file is not a good way to encapsulate things. In Flash, most of these
same things were handled with symbols in the library, and the symbols
were swapped in and out programatically. I'd like to come up with
something which works similarly, or better understand how to make
projects like this in a Flex workflow.

TIA.

-- 
Troy
RPSystems, Ltd.
www.rpsystems.net


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Re: RangeError: Error #2006 using menu !

2006-11-07 Thread Deepa Subramaniam












Hello –

 

We fixed a few bugs where this was
happening in Menu and MenuBar. We were not correctly adding and removing the
child menu instances to the SystemManager and eventually the indices would get
out of sync and you’d RTE.

 

These have been fixed since the Flex 2
build went out and will be included in the next drop of Flex which will be out
soon.

 

Deepa

Flex SDK

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of droopyflex
Sent: Tuesday, November 07, 2006
12:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
RangeError: Error #2006 using menu !



 







--- In [EMAIL PROTECTED]ups.com,
"Ciarán" <[EMAIL PROTECTED]..> wrote:
>
> Hi,
> 
> I found this difficult to reproduce. I'm a bit of a flex rookie, but
> given the exception I think flex is complaining after it's looked for
> something and not found it because it hasn't been initialized (yet).
> To my understanding, creationComplete is dispatched after
> initialization of components. I haven't yet experienced the error
> since I changed:
> 
> creationComplete="initCollections();"
> 
> to
> 
> initialize="initCollections()"
> 
> But since it's hard to reproduce I can't tell for sure if this is at
> all related to anything happening here...

the bug is not related to this. even the MenuBar is properly filled by
initCollections(), there is something wrong in MenuBar::showMenu() 

After many tries, here a way to reproduce it:
- build the menubar post in this Thread. (taken from Menubar doc)
- click on "Menu 2"
- now the tricky part: move to "Menu Item 2-B" but immediatly go to 
"Menu 1" then immediatly go to "Menu 2" before "Menu
Item 2-B" open
and before "Menu 1" open (may be).
- "Menu Item 2-B" should open when "Menu 2" is closed, or
something
like that
- MenuBar::showMenu() should crash on "Menu 2"

this is not easy to reproduce, may be because the submenu is not big.
BUT: playing with big menu with big submenu for a moment always crash.






__._,_.___





--
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] Placing images next to bars in bar charts?

2006-11-07 Thread Ely Greenfield





 
 
p.s. maybe sending a picture demonstrating what you want 
would help.
 
Ely.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of djSent: 
Tuesday, November 07, 2006 10:15 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Placing images next 
to bars in bar charts?


I want to put a 50x50 jpg image to the left of my bart chart, next to 
each of the bars. How would i go about doing 
this?Thanks,Patrick
__._,_.___





--
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] Placing images next to bars in bar charts?

2006-11-07 Thread Ely Greenfield





 
 
Coulple more questions:
 
- in flex, 'bar' charts usually mean horizontal, and 
'column' charts mean vertical.  Just to be clear, which one are you talking 
about?
- it sounds like, if you mean horizontal, you want to 
essentially use an image instead (or in addition to) the standard labels that 
appear on your veritcal axis. Is that right?
 
Ely.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of djSent: 
Tuesday, November 07, 2006 10:15 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Placing images next 
to bars in bar charts?


I want to put a 50x50 jpg image to the left of my bart chart, next to 
each of the bars. How would i go about doing 
this?Thanks,Patrick
__._,_.___





--
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] Flex Messaging Gateway

2006-11-07 Thread Seth Hodgson
Hi Tom,

You need to make sure you've configured the Flex Messaging Gateway on the CF 
side with the correct IP address of the Flex server. That config file lives at: 
/gateway/config/flex-message-gateway.cfg

The 'host' and 'allowedIPs' settings are only optional when both CF and FDS are 
running on the same box.

If you've already updated this file on the CF side, I'd recommend double 
checking the IP values you're using and ensure that the boxes can see each 
other over the network.

HTH,
Seth


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom 
Cornilliac
Sent: Monday, November 06, 2006 3:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Messaging Gateway

I've got an FDS app that is throwing the following exception when I
call sendGatewayMessage()

"Unable to find Flex adapter for destination "taxPaymentMonitor" in
the RMI registry on localhost"

This only happens on the production build of the app and only on the
CF side, the Flex Producer and Consumer both connect to the
destination without error. The only difference between the
development and production environments is the location of CF, in the
production environment CF is on a separate server from FDS. I've
changed the Destination config to point to the IP of the CF server but
it's not helping. Any ideas? Am I missing something?

~Tom
 


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Image in tab

2006-11-07 Thread Doug Lowder



Have a look here, maybe the source code is still available:
http://tech.groups.yahoo.com/group/flexcoders/message/45795
--- In flexcoders@yahoogroups.com, "k4rth4l" <[EMAIL PROTECTED]> wrote:>> Yeah ! I did it with the "icone" field for now. But, I have to find a > way to remove an element in a database when the user click the icone. > > Do you think this would work if I my icone is an SWF with to > appropriate code inside to remove an element in a database ?>

__._,_.___





--
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] problem finding mx.data package in FDS

2006-11-07 Thread Seth Hodgson
Hi MZ,

You need to compile against the enterprise.swc that ships with FDS.

HTH,
Seth


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
michel.zaouia
Sent: Tuesday, November 07, 2006 6:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] problem finding mx.data package in FDS

Hello,

I'm trying to use mx.data classes to complete some flex tutorials. But 
i can't find this classes in Flex Data Services (i'm currently using 
the express edition). As far i know this package is included in FDS but 
not in the Flex SDK. So how to use it ?

Best regards,

MZ
 


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Error in Flex 2.0.1 MX: States Example

2006-11-07 Thread dj
The example from the documentation gives me an Actionscript error:


SeverityDescriptionResourceIn FolderLocationCreation 
TimeId
2Type was not found or was not a compile-time constant: states. 
[Generated code (use -keep to save): Path: states-generated.as, Line: 
304, Column: 14]statesNovember 7, 2006 11:00:15 AM11409




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Re: Eclipse becoming HORRIBLY slow??

2006-11-07 Thread Steve Kellogg @ Project SOC
J,

I actually think that that's (at least part of) the problem.

It FEELS like memory is being swapped, etc.  I can't yet prove it, but I
won't be surprised a bit if I find a garbage collection or swap file
problem.

Steve



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jnewport
Sent: Tuesday, November 07, 2006 10:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Eclipse becoming HORRIBLY slow??

Do you let Eclipse sit for a while, say checking email or other items?

You have probably tried this but...

There was blog somewhere that said XP holds the memory or something
when not using Flex Builder.  Try to minimize and restore Flex Builder
two or three times and see if that doesn't help (release usage).  

j

--- In flexcoders@yahoogroups.com, Constantiner <[EMAIL PROTECTED]> wrote:
>
> Are there any includes in the class hierarchy?
> 
> -- 
> Best regards,
>  Constantinermailto:[EMAIL PROTECTED]
> 
> 
> SKPS> Hello,
> SKPS> I'm using FB2 on WinXP on a fairly modern laptop (core duo).
> SKPS> I seem to be having a great deal of trouble lately with
> SKPS> FlexBuilder's TEXT EDITOR (in SOURCE MODE) getting VERY VERY
> SKPS> SLOW.š Slow means that I can type a 32 character line, and see a
> SKPS> 10-15 second delay before all of the characters show up on the
screen.
> SKPS>
> SKPS> Is there some sort of GARBAGE COLLECTION that might be getting
> SKPS> in the way of smooth operation?š Are there any known
conditions that I should be avoiding?
> SKPS>
> SKPS> Thanks in advance,
> SKPS>
> SKPS> Steve
> SKPS>
> SKPS> Steve Kellogg
> SKPS> Peak8 Solutions
> SKPS> 1401 14th Street
> SKPS> Boulder, Colorado
> SKPS> 80302, USA
> SKPS> Fax: 303.415.2597
> SKPS> E-Mail: [EMAIL PROTECTED]
>





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








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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Re: Error #2038: File I/O Error.

2006-11-07 Thread Yiðit Boyar


you seem to be right, thanks...but the problem on the server still continues...my application work in my localhost but not in my server (i get the error 2038 File I/O)how can i fix it?thanks...yigit boyarmiddle east technical university / sophomore- Original Message From: e_baggg <[EMAIL PROTECTED]>To: flexcoders@yahoogroups.comSent: Tuesday, November 7, 2006 5:49:12 AMSubject: [flexcoders] Re: Error #2038: File I/O Error.








It actually doesn't have anything to do with the filename, it's
actually the file size. FileReference can't upload files that are 0KB.
Add some characters to 'new document.txt' and the upload will be fine.

I added a try/catch to notify the user if this happens:

try {
	file.upload( uploadUrl) ;
	} catch (error : Error)
	{
		Alert.show(" '" + file.name + "' cannot be uploaded because
it is an empty" + 
				" file. Files cannot be 0 KB in size.", "Upload Error...");
		return;
	}

--- In [EMAIL PROTECTED] ups.com, Yiðit Boyar  wrote:
>
> when i'm working in my locahost and try to upload a file which has
blank character(s) (e.g. new document.txt) ,
>  i get the error: text=Error #2038: File I/O Error.
> also when i uploaded my flex application to my remote server; now i
can not even upload files with names consisting no blank characters.
> 
> what can be the reason for this?
> 
> Note: my swf,php all run in the same server
>


  




__._,_.___





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

  




__,_._,___


[flexcoders] Flex 2 and Flash 9 swf integration

2006-11-07 Thread bitfacepatrick
I'd like to host Flash 9 (all A3) swfs in my Flex 2 app. I'd like to
pass data between the two as well as have Flex call functions/methods
 within the hosted Flash swf. Is this possible? If so can anyone point
me to some good reference info? Thank you! 




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Image in tab

2006-11-07 Thread k4rth4l
Yeah ! I did it with the "icone" field for now. But, I have to find a 
way to remove an element in a database when the user click the icone. 

Do you think this would work if I my icone is an SWF with to 
appropriate code inside to remove an element in a database ?




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



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

2006-11-07 Thread ben.clinkinbeard
Once again, Gordon takes the cake for the best clear and concise
explanation of a topic. I have read at least 20 descriptions of this
stuff today and this is the first one that has made complete sense.
(The others ranged from 'almost getting it' to 'no clue what the hell
that means'.) Thanks Gordon!

Ben


--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> This is a major contribution from Adobe to the open-source community,
> but let me try to clarify what it is and what is isn't. The code being
> open-sourced is for the core AS3 language, not for anything specific to
> Flash. The contributed engine is able to execute a program that uses
> core classes of the language like Array, Date, RegExp, and XML. It is
> not be able to execute a program that use Flash-specific classes like
> Sprite, TextField, SharedObject, or URLLoader. In particular it supports
> no Flash graphics.
>  
> 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 adding classes 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.
>  
> So this has nothing to do with putting Flash into Firefox. Firefox users
> will still require the Flash plugin to run SWFs. But contributing a
> high-performance virtual machine for a type-checked, object-oriented
> language is still a big deal!
>  
> - Gordon
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jrunrandy
> Sent: Tuesday, November 07, 2006 5:28 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Tamarin, Adobe open source the Flash player ?
> 
> 
> 
> Here is my understanding:
> 
> Adobe is not open sourcing the Flash Player. Adobe *is* contributing 
> source code for the ActionScript Virtual Machine, the scripting 
> language engine component within Flash Player. ActionScript 3.0 runs 
> on the Tamarin virtual machine in Flash Player 9.
> 
> I'm sure there are others who can clarify this further.
> 
> Randy Nielsen
> Flex Documentation Manager
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Gradient Mask?

2006-11-07 Thread Brian Dunphy



It's doable if both your display objects are setup with cacheAsBitmap = trueHave a look at the following articles on doing so in Flash 8 -- they should help:
http://www.devx.com/webdev/Article/29296Best of luck,BrianOn 11/7/06, Steve Cox <[EMAIL PROTECTED]
> wrote:












  











I've
been playing about with creating masks for display objects however have not yet
been able to get one working with a gradient alpha.

Has
anyone managed to get this working?

Thanks
Steve

 







  













-- Brian Dunphy

__._,_.___





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

  




__,_._,___



[flexcoders] where to drop on tree

2006-11-07 Thread Jesús Iglesias





Hi again,
 
Thanks to you I have found that, on drag and drop 
with trees, data comes on treeItems. :)
 
Now i have one more problem. What I'm trying to do 
is a tree where you can move elements from one node to another and dispatch an 
event to upgrade database, so I need to know the new node where you drop the 
item (dataprovider is xml) and update databse with the ID of this 
node.
I alsa need to update the order of this item y the 
node, one of the main features of the aplicacion is to order items on a 
node.
 
I don't know where to begin, I do drag and drop 
fine and get "treeItems" moved, but I don't know how to get the info I 
need.
 
 
Thanks again,
Jesus
__._,_.___





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

  




__,_._,___



[flexcoders] Free LocalDebugger for Flex 2 available

2006-11-07 Thread efeminella
I have developed a simple local debugger for Flex 2 which handles
recursively tracing objects of complex type from an application to a
console window. 

The debugger runs in a browser so if you are using firefox you can
easily tab between your application and the debugger.

The debugger is free so if you are interested you can learn more at
http://www.ericfeminella.com/blog/2006/11/06/flex-2-local-debugger-api-v099/

Enjoy,
Eric




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] checkCellRender Validation

2006-11-07 Thread Stephen Gilson





Hi Valy,
 
In Flex 2, there was an issue with the reason property of 
the DataGridEvent and ListEvent class not being set properly when you change 
cell focus. Which example is this? The page you mention takes me to a page with 
no example on it.
 
Stephen


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Valy 
SivecSent: Tuesday, November 07, 2006 1:18 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] checkCellRender 
Validation


Hello flexcoders,I've spent the last few hours trying to validate a 
cell on a editable datagrid without any luck. Do you have any example?. The 
example from the adobe docs doesn't work :(. It seems that preventDefault() 
always works for tab but not for the 
mousehttp://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0857.html#230761Any 
help is greatly appreciated,Thanks,Valy


Get your email and see which of your friends are online - Right on the new 
Yahoo.com 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

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: [Junk E-Mail - LOW] [flexcoders] minor bug at combobox

2006-11-07 Thread Shannon Hicks





We saw this bug awhile back in the list... Make the name of 
the first item " " instead of "" and the problem goes away.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Luis 
EduardoSent: Tuesday, November 07, 2006 12:49 PMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
minor bug at combobox


hi,if you execute this sample app, you will find strange gaps 
inside the dropdwon list of the combobox as you move the scrollbar.i 
really dont know why this but i think that is a bug.?>http://www.adobe.com/2006/mxml" 
width="100%" height="100%">/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>"middle" 
horizontalAlign="center">"{lista}" rowCount="5" 
labelField="@Name"/>i 
said this is minor because the workaround is quite simple. Just trade the 
empty Name="" at the first row for a space like Name=" " and all goes 
rigth.well... i know this is simple but i feel on the duty to report 
;)[]'s,Luís 
Eduardo___ 
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. 
Registre seu aparelho agora! http://br.mobile.yahoo.com/mailalertas/ 

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.5.430 / Virus Database: 268.13.30/521 - Release 
Date: 11/7/2006 3:30 AM
__._,_.___





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

  




__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.13.30/521 - Release Date: 11/7/2006 3:30 AM
 


Re: [flexcoders] video controller and mxmlc

2006-11-07 Thread Igor Costa



Kumar did you passed the parameter -use-network=false ?Regards.On 11/7/06, KP <[EMAIL PROTECTED]
> wrote:












  











Well I have my mxml ready which contain one video controller
with source specified. Now when I am trying to convert this mxml into swf using
mxmlc compiler it is not generating or rather running flv video.I don't
understand what is happening because when the same mxml is compiled through
flex builder it runs video …

 

Please suggest some solution ..

Thanks

Kumar







  













-- Igor Costawww.igorcosta.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
  
  
  

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 
   
 

  




__,_._,___



[flexcoders] Placing images next to bars in bar charts?

2006-11-07 Thread dj
I want to put a 50x50 jpg image to the left of my bart chart, next to 
each of the bars.  How would i go about doing this?

Thanks,
Patrick



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] List & Bitmap

2006-11-07 Thread Tom Chiverton
On Tuesday 07 November 2006 15:20, kribot wrote:
> No, for the moment I just use the dataProvider property and give it an
> Array of string or int. I don't get it, how you could add a bitmap & a
> string in the same row..

You said  "I create a class which extends List".
In this new class, you'd replace the storage internals with something that can 
store any type of thing. 

Now you're talking about using the dataProvider of something - a DataGrid or 
something ? You might want to look at a custom itemRenderer.

-- 
Tom Chiverton
Helping to preemptively build interdependent schemas



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

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

CONFIDENTIALITY

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

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



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Re: Image in tab

2006-11-07 Thread KP












I was unable to find that can u please
reply here only… It will be help fi\ul for others also..

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of bhaq1972
Sent: Tuesday, November 07, 2006
9:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Image in
tab



 







check out the archives. Jeremy Lu did something
special.

--- In [EMAIL PROTECTED]ups.com,
"k4rth4l" ...> 
wrote:
>
> 
> I want to put an image on the left of the title in each tab of a tab
> naviguator. Anybody know how I can do that ?
> 
> This is what I try to do :
> 
> [Tab Navigator]
> 
> Thank yall for ur
help !
>






__._,_.___





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

  




__,_._,___






[flexcoders] Calendar...visually show selection for related data?

2006-11-07 Thread qnotemedia
I have a calendar component and an ArrayCollection of data that is 
filtered depending on the selected date of the calendar.  Selecting a 
date brings up a list of items in the array.

Is there any way that I can visually extend the calendar component to 
show markers where dates not selected have this associated data?




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] minor bug at combobox

2006-11-07 Thread Luis Eduardo


  hi,

  if you execute this sample app, you will find strange gaps inside the 
dropdwon list of the combobox as you move the scrollbar.
  i really dont know why this but i think that is a bug.


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



















   









i said this is minor because the workaround is quite simple. Just trade 
the empty Name="" at the first row for a space like Name=" " and all 
goes rigth.
well...  i know this is simple but i feel on the duty to report  ;)

 []'s,

 Luís Eduardo




___ 
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. 
Registre seu aparelho agora! 
http://br.mobile.yahoo.com/mailalertas/ 
 



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Eclipse becoming HORRIBLY slow??

2006-11-07 Thread jnewport
also are you running Flex Data Services?  My maching XP laptop has
issues when running FDS for a long time and running Outlook at the
same time.  If so try leaving Flex Builder open but close down FDS and
restart FDS.



--- In flexcoders@yahoogroups.com, Constantiner <[EMAIL PROTECTED]> wrote:
>
> Are there any includes in the class hierarchy?
> 
> -- 
> Best regards,
>  Constantinermailto:[EMAIL PROTECTED]
> 
> 
> SKPS> Hello,
> SKPS> I'm using FB2 on WinXP on a fairly modern laptop (core duo).
> SKPS> I seem to be having a great deal of trouble lately with
> SKPS> FlexBuilder's TEXT EDITOR (in SOURCE MODE) getting VERY VERY
> SKPS> SLOW.š Slow means that I can type a 32 character line, and see a
> SKPS> 10-15 second delay before all of the characters show up on the
screen.
> SKPS>
> SKPS> Is there some sort of GARBAGE COLLECTION that might be getting
> SKPS> in the way of smooth operation?š Are there any known
conditions that I should be avoiding?
> SKPS>
> SKPS> Thanks in advance,
> SKPS>
> SKPS> Steve
> SKPS>
> SKPS> Steve Kellogg
> SKPS> Peak8 Solutions
> SKPS> 1401 14th Street
> SKPS> Boulder, Colorado
> SKPS> 80302, USA
> SKPS> Fax: 303.415.2597
> SKPS> E-Mail: [EMAIL PROTECTED]
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Eclipse becoming HORRIBLY slow??

2006-11-07 Thread jnewport
Do you let Eclipse sit for a while, say checking email or other items?

You have probably tried this but...

There was blog somewhere that said XP holds the memory or something
when not using Flex Builder.  Try to minimize and restore Flex Builder
two or three times and see if that doesn't help (release usage).  

j

--- In flexcoders@yahoogroups.com, Constantiner <[EMAIL PROTECTED]> wrote:
>
> Are there any includes in the class hierarchy?
> 
> -- 
> Best regards,
>  Constantinermailto:[EMAIL PROTECTED]
> 
> 
> SKPS> Hello,
> SKPS> I'm using FB2 on WinXP on a fairly modern laptop (core duo).
> SKPS> I seem to be having a great deal of trouble lately with
> SKPS> FlexBuilder's TEXT EDITOR (in SOURCE MODE) getting VERY VERY
> SKPS> SLOW.š Slow means that I can type a 32 character line, and see a
> SKPS> 10-15 second delay before all of the characters show up on the
screen.
> SKPS>
> SKPS> Is there some sort of GARBAGE COLLECTION that might be getting
> SKPS> in the way of smooth operation?š Are there any known
conditions that I should be avoiding?
> SKPS>
> SKPS> Thanks in advance,
> SKPS>
> SKPS> Steve
> SKPS>
> SKPS> Steve Kellogg
> SKPS> Peak8 Solutions
> SKPS> 1401 14th Street
> SKPS> Boulder, Colorado
> SKPS> 80302, USA
> SKPS> Fax: 303.415.2597
> SKPS> E-Mail: [EMAIL PROTECTED]
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: custom Panels original size

2006-11-07 Thread jnewport
I tried both your overrides, but they caputer the height property as
"0".  Maybe they are trying to read the height before the compenent is
created?

Although I would think that childrenCreated() would be one of last
methods called when a panel is created?

Anyone else have anys suggestions?  Here is my entire code for the
custom resizeable Panel taken from
http://jeff.mxdj.com/flex_2_maxrestorepanel_class.htm

I have made some enhancements so that the resizing code is in the
class rather than using the restore and minimize events. 

The issue is that I am using two of these custom panels per view, one
on top of the other.  So if you minimize say the top customPanel1 the
lower customPanel2 expands automatically to take up the space (which
it should do), but if you then try to minimize the bottom customPanel2
(so both are minimized) it will set the bottom customPanel2's
originalHeight to the expanded version (caused when it expanded to
take up the extra space). 

That probably confused you..what I am trying to do is capture the
height when the customPanel.as compenent is first created before
anyone can click the minimize button. I tried to capture it in the
constructor function, but it returns "0".

This is the goal.
http://adb.crowecs.com/flex/activeDashboard/dashBoard.mxml?versionChecked=true

/Begin code///

// ActionScript file
package components{
  import mx.containers.Panel;
  import mx.controls.Button;
  import flash.events.Event;
  import flash.display.DisplayObject;
  
  [Event(name="restore")]
  [Event(name="minimize")]
  public class MaxRestorePanel extends Panel {
private var state:int = 0; 
private var btStateUp: Button;
private var btStateDown: Button;


 
 private var originalHeight:Number;
 private var boolSized:Boolean = false;
 private var hdHeight:Number;
 
 
 
[Embed("../assets/upArrow.gif")]
private var buttonUpIcon:Class;
[Embed("../assets/downArrow.gif")]
private var buttonDownIcon:Class;



 


private function getSized():void
{
if(boolSized == false){
measure();
originalHeight = this.height;
trace(originalHeight);
boolSized = true;
trace(boolSized);
}

}
 
 private function minimizePanel():void {
getSized();
hdHeight = this.getStyle('headerHeight');
this.height = hdHeight + 15;
}   

 private function restorePanel():void {
this.height = originalHeight;
}
 
 


private function setState(state:int):void{
   this.state=state;
   if (state==0){ // Minimized
  this.dispatchEvent(new Event('restore'));
   } else {
this.dispatchEvent(new Event('minimize'));
   }
}

private function doMinimize(event:Event) :void{
 setState(1);
 btStateUp.visible = false;
 btStateDown.visible = true;
 
 minimizePanel();
 
}

private function doRestore(event:Event) :void{
 setState(0);
 btStateUp.visible = true;
 btStateDown.visible = false;
   
 restorePanel();
   
}

protected override function createChildren(): void {  
 super.createChildren();
 btStateUp = new Button();
 btStateDown = new Button();
 btStateUp.addEventListener("click",doMinimize);
 btStateDown.addEventListener("click",doRestore);
 btStateUp.setStyle("overIcon",buttonUpIcon);
 btStateUp.setStyle("downIcon",buttonUpIcon);
 btStateUp.setStyle("upIcon",buttonUpIcon);
 btStateDown.setStyle("overIcon",buttonDownIcon);
 btStateDown.setStyle("downIcon",buttonDownIcon);
 btStateDown.setStyle("upIcon",buttonDownIcon);
 btStateUp.visible =true;
 btStateDown.visible =false;
 rawChildren.addChild(btStateUp);
 rawChildren.addChild(btStateDown);
  }
  
  protected override function updateDisplayList(unscaledWidth: Number,
unscaledHeight:Number):void  {
super.updateDisplayList(unscaledWidth, unscaledHeight);
  if(unscaledWidth > 0){
this.visible = true;
  } else {
this.visible = false
 }
 var upAsset:DisplayObject = btStateUp.getChildByName("upIcon");
 var downAsset:DisplayObject = btStateDown.getChildByName("upIcon");
 var margin:int = 4;
 btStateUp.setActualSize(upAsset.width+margin, upAsset.height+margin);
 btStateDown.setActualSize(downAsset.width+margin,
downAsset.height+margin);
 var pixelsFromTop:int = 5;
 var pixelsFromRight:int = 10;
 var buttonWidth:int=btStateUp.width;
 var x:Number = unscaledWidth - buttonWidth - pixelsFromRight;
 var y:Number = pixelsFromTop;
 btStateDown.move(x, y);
 btStateUp.move(x, y);
}
  }
}

///End code//



--- In flexcoder

  1   2   >