[flexcoders] Re: Delete Item after Drag operation in Tree (Flex 2.0)
There's a temporarily open bug in Tree that is causing items to be inserted without the corresponding remove. This appears to be a copy, but its really a bug in move. For now you can delete or copy your objects by implementing your own drag methods. dragStart and dragComplete should do the trick. Thanks, -Michael --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote: > > You should work with the collection, though if you're really trying to > remove from the original source the collection is not going to do it > (because XMLLists are always copies of the source and removing something > from that list is not removing from the original value). So you may > want to do something like > > delete mySelectedNode.parent()[mySelectedNode.childIndex()]) > > (there's probably a better way to do this but I'm rushing here :-)) > > Matt > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of sourcecoderia > Sent: Sunday, February 05, 2006 9:05 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Delete Item after Drag operation in Tree (Flex > 2.0) > > Anyone know how I should be approaching this can't seem to get it right. > > The data provider is an XMLListCollection, and when the item is a MOVE > action I need to get rid of the original item in the tree view. I was > using the dragComplete event but does not seem to give the results I > hoped for. Should I be working with the xml data source directly? Or > the Collection, or the tree ? > > Does anyone have a quick sample to delete a item. Or could anyone point > me in the correct direction. > > Thanks > > > > > > -- > 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/ <*> 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: Tree control in Flex 2 Beta 1
Hi Jason, You're on the right track. You can edit your data directly and through data binding the Tree control will update to reflect the changes. See the Collections events for the notifications that the Tree listens for. For the added node that doesnt display, I believe that you hit upon a Tree bug. The player should never crash though, so if you can consistently crash it, please send me that file. Finally, regarding Collections and hierarchical data, there are no standard Collections that can see a hierarchy, so moveNext and movePrevious (IViewCursor) wont move up or down such a model. The cursor will get you across the top level nodes, but you're left with using your own means for moving about the data from there. This is what I mean when I say that you use your own contract to interact with the data. One thing to keep in mind regarding tree data, the Tree doesnt require data to actually *be* hierarchical. It only requires that it's hierarchy can be described (via the ITreeDataDescriptor). This is an important distinction for things like, giant data sets, children with multiple parents, paging result sets, relational data, etc. Also, what did you mean by "the XML approach is more supported", did you mean via documentation? or did you find some issues with using non-XML structures? Thanks and hope this helps, -Michael --- In flexcoders@yahoogroups.com, "Jason Y. Kwong" <[EMAIL PROTECTED]> wrote: > > I'm really at a lost as to how we're supposed to work with the hierarchical > data that's used with the Tree component. The XML approach seems to be the > most supported at the moment, so consider this simple XML: > >var rootNode: XML = > > > > > > The dataProvider for the Tree then becomes an XMLListCollection. It > displays fine. But now what's the expected way to modify the data so that > the Tree updates? From the docs, I read: > > "You can use the ICollectionView interface with list-based or hierarchical > data. The following sections describe the basic ICollectionView operations > using a list-based collection, but can also apply to similar operations on a > hierarchical collection." > > How is ICollectionView used with hierarchical data? Michael Montagna gave a > hint in the quoted code at the bottom, but it seems like XMLListCollection > is no more hierarchy-aware than ArrayCollection. If I use a cursor with the > above example, I find that the collection has just one item--the root node. > I can add siblings to the root node via the cursor, but that's not very > useful. How do I get to the children via the collection/cursor? > > So then I tried modifying the XML objects directly. I tried doing this: > >[EMAIL PROTECTED] = "Hello"; > > And to my surprise, the Tree updated! So I thought this was the answer. > Well, sort of. With the root node open in the Tree, I tried this: > >rootNode.appendChild(); > > The Tree does update itself with a new row, but it shows up empty (I can > select it, though). If I collapse and expand the root, Child3 shows up ok. > Now, if I try this: > >rootNode.node[1].appendChild(); > > The Flash Player crashes, taking the browser with it. Looks like converting > a leaf to a branch while it's being displayed is a no-no. Works ok if the > root node is collapsed. > > Anyway, it looks like the Tree does get alerted for changes made directly to > the XML. Is this an expected/acceptable way of doing things? And it just > happens to be really buggy right now? Or are we supposed to go through the > collection? If so, how? > > Suggestions? > > > On 2/1/06, Michael Montagna <[EMAIL PROTECTED]> wrote: > > > > Here's a wordy example to add a leaf node: > > > > public function addTree() { > > var collection:ICollectionView = ICollectionView( > > myTree.dataProvider); > > var cursor:IViewCursor = collection.getCursor(); > > cursor.seek(CursorBookmark.CURRENT, 2); > > cursor.insert({label:"added item"}); > > cursor.release(); > > } > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Dont Even know how to classify this.
Maybe I missed it in there, but where's the handler for the save action? quAdminEditList(String, String, ...) -M --- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]> wrote: > > I currently have my beta app up and running. However I have ran into a > rather odd problem. > > Right now I have a simple search that allows people to search on file > numbers. This works perfectly. When someone searches thier resuslts > are display below the input in a datagrid. When you click on the > selected record, it changes the state from the file search state to > the file edit state. Again this works. During the changing of the > states, a var called fileNum is passed into the edit file state. This > is used to populate the edit file inputs. AGain this also works. After > all the edits are done to the file in question, you can click save and > it will save all the data. Again this also works. > > Now this is where things get weird. Once you click save, and your data > is saved, It changes the state back to the iniital state. When I go > back to search for a new file in my edit screen, my original search is > still in the datagrid. This is ok for now. I can search and the > results will be display below. When I click on the record I want to > edit, it takes me back to the edit file state. Instead of updating the > data with the new data of the record I selected, it still displays the > data from my origianl search. So if I stated my testing by search for > the file L061234, and view that data in the edit file screen. Then I > search again, and I select the record L061235. The data for L061234 is > still being displayed. > > Can someone help me with this, It is driving me nuts. I have included > code below. > > > FileSearch.mxml-- > > > http://www.macromedia.com/2005/mxml"; xmlns="*" > width="100%" initialize="qpListSearch(search)" height="100%"> > wsdl="http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl"; > showBusyCursor="true" /> >title="View Transaction: Search"> > > > > > >click="qpListSearch(search.text)" > label="Button"/> >click="ListState(FSDG.selectedItem.FLD_FILENUM)" > dataProvider="{srv.qpListSearch.result}" y="71" width="100%" height="80%"> > >columnName="FLD_FILENUM"/> >columnName="FLD_PROPNUM"/> > > > > > > > > > adminEditList.mxml-- > > > creationComplete="qdListDisplayDocs(fileNum);qdListDisplayProp(fileNum);qdListDisplayReview(fileNum);qdListDisplayCode(fileNum)" > xmlns:mx="http://www.macromedia.com/2005/mxml"; xmlns="*"> > wsdl="http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl"; > showBusyCursor="true" /> > > > > >height="100%" width="100%"> > >height="100%" y="10"> >width="100%" > height="100%"> >fontFamily="Verdana" fontWeight="bold"/> >fontSize="15" fontFamily="Verdana" fontWeight="bold"/> > >text="Direction Prefix"/> > > >text="Direction Suffix"/> > > > > > > > >text="Commision Formula"/> > > > > > > > >text="{srv.qdListDisplayProp.result.fld_propNum}" id="fld_propNum"/> >dataProvider="{dirPrefix}" > id="fld_propDir"> >text="{srv.qdListDisplayProp.result.fld_propStreet}" id="fld_propStreet"/> >dataProvider="{streetDesig}" > id="fld_propStreetDesignator"> >dataProvider="{dirSuffix}" > id="fld_propDirSuffix"> >dataProvider="{unitType}" > id="fld_propUnitType" > >text="{srv.qdListDisplayProp.result.fld_propU
[flexcoders] Re: Auto form focus
Initialize might be too early. -M --- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]> wrote: > > Is there a way with in flex to auto foucs on a certain compoent upon > initialization. I have tried the AS2 way > Selection.setFocus("instanceName"); But this does not work. > > Can someone give me a hand with this. > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex2 Tree
What you're doing is correct, so this is probably a bug. If we find a workaround I'll post it. Thanks, -Michael --- In flexcoders@yahoogroups.com, Teoti Graphix <[EMAIL PROTECTED]> wrote: > > Hello, > > I am writting this more as a comment then question. > > I have spent 2 days experimenting with the mx.collections classes and it has > been fun. Now, I have a project where I need the tree's root to be; > > ClassPaths >- > c:/classes > - > dir structure >- > c:/mm/classes ... > - > dir structure.. > > I am loading all the xml tree structure form php fine. What is the method > for creating the root now ClassPaths ONCE, then on each new 'loadCLassPath() > call, add the new xml to the CLassPaths root node. > > I have almost got it but, the tree gives me node opne errors after I get 2 > nodes inserted. > > Am I doing something wrong? > > > protected function loadDir(evt:ResultEvent):void > { > > var newList:XMLList = new XMLList(evt.result); > > if (dataProvider == null) { > > dataProvider = ; > } > > dataProvider.source[0].appendChild(newList); > } > > Peace, Mike > > PS the error when click to open the root node is... > > "TypeError: Error #1010: undefined has no properties. > at mx.controls::Tree/setIsOpen() > at mx.controls.treeclasses::TreeCellRenderer/disclosurePress() > " > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] AS3 class constructors can't be private? Abstract classes?
AS3 has some pretty interesting constructs, and private constructors is not one of them. Don't be fooled - it's not java. I can recommend reading up on the as3 pdf.A couple of months ago I hit that same stumbling block, i.e. "what! no private constructors?!"I what follows is a response from zwetan posted on the Adobe labs forum:zwetan writes:here are common cases where *other* languages need private constructors: - classes containing only static utility methods- classes containing only constants- type safe enumerations- singletonsin AS3 with the actual implementation of the ECMAScript 4 specyou don't need private constructors to implement all that for cases:- classes containing only static utility methods- classes containing only constantspackage foobar { class blah { function blah() //internal { } public const test:String = "test";public static function utility():String { return "hello world"; } } }the constructor "blah" is by default internal to the package,you can not instanciate it outside of the packagebut by declaring the constant and/or static members public you can access them outside from the package.(you don't even need to define a constructor )check the prog_actionscript3.pdf page 43class ConstExample{ static const EXAMPLE_STATIC:String = "Global access"; public const EXAMPLE_PUBLIC:String = "Public access"; private const EXAMPLE_PRIVATE:String = "Class access";}for the singletons case it's almost the same,especially if you want to have a constructor to initialize it ---package foobar { class Singleton() //internal{ function Singleton() //package scope internal constructor { } public var someProperty:String = "someProperty"; public function someMethod():String { return "someMethod" }} }---package foobar { public const MySingleton:Singleton = new Singleton(); }---you can only instanciate the Singleton constructor inside its package, not outside because it IS internal,and making it const and public you're sure it gonna beglobally accessible and instancied only once.You don't need private constructor in prototype-based languagebecause you can directly have an object http://en.wikipedia.org/wiki/Singleton_pattern" In a prototype-based programming language, where objects but not classes are used, a "singleton" simply refers to an object without copies or that isnot used as the prototype for any other object."zwetanOn 2/10/06, Johannes Nel <[EMAIL PROTECTED]> wrote: abstract classes i am not expecting, private constructers i certainly hope forOn 2/9/06, Carlos Rovira <[EMAIL PROTECTED] > wrote: Hi,I was trying to migrate some classes from AS2 to AS3 and notice that can't mark the class constructor as private. Is that correct or there's a workaround? if not have plans to implement private constructors. and abstract classes?Thanks in advance.-- ::| Carlos Rovira::| http://www.carlosrovira.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- j:pn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Te
Re: [flexcoders] AS3 class constructors can't be private? Abstract classes?
Patterns are not meant to be language specific. The way you implement a singleton may vary from language to language, but the abstraction is the same. That's the point. So you may expect to do it differently in AS3. It's a new language with new features which hopefully will make us much more productive than with the old Java style stuff. Cheer up guys! This is exciting stuff. :) Also some people would argue that singleton is a 'dead' pattern. :)"AS3 is not a prototype language" - yes it is.cheers -michaelOn 2/10/06, Johannes Nel <[EMAIL PROTECTED]> wrote: so even if i create a private class that is only accecible in that package (and then on package level declare a accesor for it) the only way i can be certain that class will only be created once is by having nothing else in that package. this does not seem right. On 2/10/06, Matt Chotin < [EMAIL PROTECTED]> wrote: You have to simulate private constructors by having the constructor take a class that is inaccessible to other classes (namely putting that class in the same file as the singleton outside of the package block). Unfortunately I believe the rule is that the constructor of the class has to have the same visibility as the class itself. So public classes need public constructors, internal classes get internal constructors, etc. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Thursday, February 09, 2006 4:51 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] AS3 class constructors can't be private? Abstract classes? abstract classes i am not expecting, private constructers i certainly hope for On 2/9/06, Carlos Rovira <[EMAIL PROTECTED] > wrote: Hi, I was trying to migrate some classes from AS2 to AS3 and notice that can't mark the class constructor as private. Is that correct or there's a workaround? if not have plans to implement private constructors. and abstract classes? Thanks in advance. -- ::| Carlos Rovira ::| http://www.carlosrovira.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- j:pn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and developm
Re: [flexcoders] AS3 class constructors can't be private? Abstract classes?
Please explain why Roger Gonzalez (last 4 lines) construct is a hack (other than different from the Java way)?It is interesting to note that private constructors are discouraged in C# 2.0 and replaced by statics. (much like in AS3)cheers -michaelOn 2/12/06, Xavi Beumala < [EMAIL PROTECTED]> wrote: Hi there, I also completely agree with you. If it's a fact of architecture why not let us (programmers) decide what to use (internal vs private) ?? All new features on AS3 and FES are really amazing, but I think two main things are being forgotten as has been said: abstract classes and private methods. It's really tricky and weird to use runtime exceptions to control what can be controlled at compile time. And despite patterns are language agnostic and can have different implementations on different languages they must be easy to identify on the code. Using hacks like the ones explained isn't easy to identify them. Implementing a template method using exceptions IMHO also looks really bad... Just my opinion X. On 2/12/06, Carlos Rovira <[EMAIL PROTECTED] > wrote: Thanks to god! I thought was completly alone in this topic! : )2006/2/12, Jens Halm < [EMAIL PROTECTED]>: > again from other people's coming to the Flash platform they look at > all this stuff as the typical flash hacks from old days. > I don't know why are you so reactive to introduce private > constructors that are very clear and precise to resolve this kind of > things and don't need any trick. > Another question is what's about Abstract classes that are again very needed. > Please rethink this two things so we could get a very flexible > languaje and bring more people form other backgrounds to our beloved > platform without think that we have a platform full of hacks. I have to second all those points. Ok, now we know Adobe had long discussions internally about this issue, but I still can't see any disadvantages in permitting non-public constructors which might have led to this decision. As it seems evident from this and other similar threads the proposed workarounds for singletons are ugly and confusing for most developers. As for abstract classes: Maybe they are not part of ECMA 4 yet? I tried to google it up, but somehow I am not able to find an up-to-date specification draft. (The newest one I was able to find is from 2003). In AS 3 abstract is a reserved keyword but it's not used yet. But again: If we don't get abstract classes we need non-public constructors to fake them. In AS 2 I combine private constructors with empty (pseudo-abstract) template methods to accomplish this. AS 3 is a huge step forward, but I still miss some pieces in the core language: - Private constructors - Abstract classes and methods - Enumerations! - Class.instantiate(args:Array) method Jens www.oregano-server.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- ::| Carlos Rovira::| http://www.carlosrovira.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Xavi Beumalahttp://www.code4net.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
Re: [flexcoders] AS3 class constructors can't be private? Abstract classes?
I agree that it can become tedious, but it's hardly a hack.My point is that every time there's a new language (yes I've been around for awhile :) there are people complaining that it's unlike some other language (mostly an older one). It's understandable, but I also know that the people implementing the language spec's for the most parts is not inexperienced fools. There's in all properly a reason for the missing 'feature', and it just _might_ be that the language does in fact support the desired construct but in a different way than the one you are used to. A new language is often more productive than the older one _overall_, but some specifics might become more tedious on account of the re-arrangement in complexity. You simply cannot progress and keep everything as is. This also applies for humans. Personally I still need to absorb some of the new features (like using the namespace type for e.g. implementing a factory pattern) in the AS3 language, and reflect on the new set of options before I 'complain' on missing features. Perhaps you guys already have _the grand perspective_ on the AS3 language, and thus rightfully criticise the decision. If so, I'm sorry for the interruption. I just got the feeling that this was more of the 'why? Java has it!' kind of thing. :) cheers -michaelOn 2/12/06, Julian Suggate <[EMAIL PROTECTED] > wrote: Try writing static facades for a class with any larger interface than five or so methods and it becomes tedious to say the least. not to mention that every time you add a function to the Manager class you have to manually expose it through ManagerImpl. If there was a codegen tool that could do this for me, I'd not care so much but with languages as they are at the moment, this kind of extensive delegation involves too much grunt work. Languages should have a "wraps" keyword to manage this. In the AS2 days you could use __resolve quite nicely to delegate behaviour but lost typesafety :( I don't think Roger's solution would hold much traction with my team leader who is always looking for the "path of least resistance" (sorry Roger!). Unfortunately, it looks like AS3 doesn't have one of those when it comes to implementing singletons (or template methods for that matter). Otherwise, i think AS3 is awesome and congratulate all the Macrobat dudes for revamping their platform Yet Again! Well done :-) And the performance enhancements combined with Flash's capabilities mean that people will use the language no matter what. Heck, if it still had AS1 syntax, we'd still be using it. But really, I think abstract classes and modifiable constructors should make it into the AS4 spec. And typesafe delegation/wrappers that also avoid pointless delegation code like in Roger's example! My $.02. Cheers, Jules On 2/13/06, Michael Hansen <[EMAIL PROTECTED] > wrote: Please explain why Roger Gonzalez (last 4 lines) construct is a hack (other than different from the Java way)? It is interesting to note that private constructors are discouraged in C# 2.0 and replaced by statics. (much like in AS3)cheers -michael On 2/12/06, Xavi Beumala < [EMAIL PROTECTED] > wrote: Hi there,I also completely agree with you. If it's a fact of architecture why not let us (programmers) decide what to use (internal vs private) ?? All new features on AS3 and FES are really amazing, but I think two main things are being forgotten as has been said: abstract classes and private methods. It's really tricky and weird to use runtime exceptions to control what can be controlled at compile time. And despite patterns are language agnostic and can have different implementations on different languages they must be easy to identify on the code. Using hacks like the ones explained isn't easy to identify them. Implementing a template method using exceptions IMHO also looks really bad... Just my opinionX. On 2/12/06, Carlos Rovira <[EMAIL PROTECTED] > wrote: Thanks to god! I thought was completly alone in this topic! : ) 2006/2/12, Jens Halm < [EMAIL PROTECTED]>: > again from other people's coming to the Flash platform they look at> all this stuff as the typical flash hacks from old days.> I don't know why are you so reactive to introduce private > constructors that are very clear and precise to resolve this kind of> things and don't need any trick. > Another question is what's about Abstract classes that are again very needed.> Please rethink this two things so we could get a very flexible> languaje and bring more people form other backgrounds to our beloved> platform without think that we have a platform full of hacks. I have to second all those points.Ok, now we know Adobe had long discussions internally about thisissue, but I still can't see any disadvantages in per
[flexcoders] Re: Full dynamic tree example
For the record, one way to fetch tree children on demand, is to pin the top level nodes to your Tree and then subclass the datadescriptor getChildren. In getChildren you'd run the service calls and return the appropriate children. -Michael --- In flexcoders@yahoogroups.com, "Pat Buchanan" <[EMAIL PROTECTED]> wrote: > > Hello fellow Flex coders! Greetings from the frozen state of Utah. > > Well, I'm stuck. I see a lot of people asking for examples of how to do a > dynamic tree. Dynamic as in JUST loading the first level of nodes, and when > the user opens a node, it calls back to the server, gets it's children, and > adds them to the tree dynamically. > > (The reason I can't load the tree all at once is because it can be > recursive, so the tree would go forever.) > > Anyway, I have searched the list archive and I see a LOT of answers with > either a quick explanation or tiny partial code snippet, but have yet to > find a COMPLETE running example. Every time I find what I'm looking for via > Google, it links back to a certain pay site and I can't justify $250 for a > few lines of example code. > > Does anyone know of a fully working dynamic tree example with source? > > I'm POSITIVE it's right under my nose and I'll feel like a twinkie when it's > pointed out to me. :( > > Thanks ya'all > -Pat Buchanan > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex2 Tree Bug crashes browser
There's certainly a bug in here, but you can try replacing the appendChild call: > var newNodeAdded:XML = selectedNode.appendChild(newItem); with: selectedNode.insertChildBefore(null, newItem); Also, I changed selectedNode to type XML from Object. This works for me, the Tree see's the update and converts the leaf to a closed branch with the new node. Let me know if you'll still have problems. -Michael --- In flexcoders@yahoogroups.com, "sufibaba" <[EMAIL PROTECTED]> wrote: > > Hi Matt, > > The node has not been added anywhere else. I've modified the Tree > example from the Flex Sample Explorer to duplicate the problem I am > having in my App and it is exhibiting the same behavior. > > - tree.mxml > > > > http://www.macromedia.com/2005/mxml"; > creationComplete="srv.send()"> > > > > > > result="initList(event)"/> > > > > > rootVisible="false" dataProvider="{XLC}" > change="treeChanged(event)"/> > text="Selected Item: [EMAIL PROTECTED]"/> > > > > > > assets/tree.xml > > > > > > > > > > > > > > > > > > > > > - > > I tried both IE and Firefox on winXP and this bug crashes both > browsers when a new node is appended to a leaf node. > > Is there a possible work around for this bug do you think? > > Cheers, > > Tim > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flex 2 Enterprise Services and SSL
Hi, Could anyone tell me if Flex 2 ES supports SSL for communication with server? Regards. 0:35 | 28.02.2006 -- Michael "Antares" Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Detecting Client Country or Location
Dan wrote: > hi, > > As Actionscript can detect the OS version of the client machine, is > there any way that a flex application can detect the country of the > client? Since we want to store the information for analysis. Any people > come across this before? > > Any suggestion? Use server-side programming or / and services like GeoIP -- Michael "Antares" Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] GUI testing best practices
Hi, With FlexUnit for Flex 2 have been realised recently I have to ask once again... How do you think, what are the best ways to test GUI in MVC driven Flex application? Regards. -- Michael "Antares" Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] FB2 :: Horizontal scroll bug, opening file
Hello, Just curious if this bug is being remedied. Type text farther than the horizontal width of the code pane. Then try and edit text at the very end of the line with the scroll bar at max position. Then right after you type something, the horizontal scrollbar gets set back to 0. Also, With the link/class view thing; Seems like this happens way to fast. I use ctrl-c and ctrl-v all the time, when doing this combination fast, I end up opening a copy of the file when hitting ctrl-v fast. 1 out of ten times I have to close the copy and say no on the save changes. Anyway, just some thoughts. Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] polymorphic interfaces
Hello, This is funny becasue I was just having this problem with the Event clone() ! :) I guess I just slammed it with a coerrsion for now.(Yeah I realize this is not an interface but it's the same idea :: you can't override a return type) But, yeah, I second this motion for the futrue! Peace, MikeOn 3/6/06, Gordon Smith <[EMAIL PROTECTED]> wrote: I think there's general agreement here that we want to do this in a future release, but that the schedule doesn't allow it for this release. There are quite a few other things that people want as well -- strongly-typed array, enums, inner classes, etc. -- but we can't open up the feature set again this late in the cycle (nearly Beta 2). - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Monday, March 06, 2006 1:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] polymorphic interfaces hi all, especially Adobe dudes working on ze language. the fact that method signatures are not polymorphic when implementing an interface or overriding a function is a real pain in the behind. now in my interface i have to create a function as such interface IBla { function clone():IBla } but two levels down the line when i have extended this interface with another i want my clone to return a more concrete type, and then each of my classes that implement this interface their clone methods would ideally return their own type. yet all these classes implement IBla in some fashion either directly or indirectly so... anyway polymorphic function signatures would be nice. thanks johan -- -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2 :: mx.logging package usage IE TraceTarget.filters
Hello, Now, I was experimenting with the mx.logging package. Looks really kewl, I have got some things working(BTW the docs are completly messed up on method signatures). Any adobe peplz want to give a heads up on the filters property of ITarget aka TraceTarget class? I have this method... protected function constructLogger():void { var traceTarget:ITarget = new TraceTarget(); traceTarget.filters = ["com.teotigraphix.teodoc.core.TEODocObject"]; traceTarget.level = LogEventLevel.DEBUG; Log.addTarget(traceTarget); __logger = Log.getLogger("com.teotigraphix.teodoc.core.TEODocObject"); debug("constructLogger()"); } Now, I am building a documenting framework for as3/mxml and most of my classes inherit the TEODocObject for using services, logging and events. Now, using the TraceTarget.filter, is there any way to filter calls FROM the TEODocObject and filter out subclasses of certain packages ? Example com.teotigraphix.teodoc.core.Project extends com.teotigraphix.teodoc.core.TEODocObject I don't want the debug being called for this class Project but I do want say com.teotigraphix.teodoc.core.TEODocProjectManager extends com.teotigraphix.teodoc.core.TEODocObject Any way to do this? Any more docs being produced for these classes? Remember, I have been reading the spotty docs on this and most of my trips are guesses ;-) Also, how do I set up the flash trace.txt file ??? Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex2 :: mx.logging package usage IE TraceTarget.filters
Thanks Matt, I was thinking the same thing about making it protected. I do the same thing with a constructServices() method and defer the implementation to the subclass, IE Template Method. Peace, Mike On 3/7/06, Matt Chotin <[EMAIL PROTECTED]> wrote: No, the logging filters are not smart enough to understand the relationships between classes. If you put logging for a category in for a superclass, that's it. Now what you can do is make the logger protected and then have it assigned by the subclass. So the subclass could assign it with its own value which would then get filtered out, while a different class would leave it filtered in. That might be OK? You set up flashlog by adding a mm.cfg file to your windows %HOME% directory (usually c:\documents and settings\). In the mm.cfg you want: ErrorReportingEnable=1 TraceOutputFileEnable=1 Matt From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Monday, March 06, 2006 5:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 :: mx.logging package usage IE TraceTarget.filters Hello, Now, I was experimenting with the mx.logging package. Looks really kewl, I have got some things working(BTW the docs are completly messed up on method signatures). Any adobe peplz want to give a heads up on the filters property of ITarget aka TraceTarget class? I have this method... protected function constructLogger():void { var traceTarget:ITarget = new TraceTarget(); traceTarget.filters = ["com.teotigraphix.teodoc.core.TEODocObject"]; traceTarget.level = LogEventLevel.DEBUG; Log.addTarget(traceTarget); __logger = Log.getLogger("com.teotigraphix.teodoc.core.TEODocObject"); debug("constructLogger()"); } Now, I am building a documenting framework for as3/mxml and most of my classes inherit the TEODocObject for using services, logging and events. Now, using the TraceTarget.filter, is there any way to filter calls FROM the TEODocObject and filter out subclasses of certain packages ? Example com.teotigraphix.teodoc.core.Project extends com.teotigraphix.teodoc.core.TEODocObject I don't want the debug being called for this class Project but I do want say com.teotigraphix.teodoc.core.TEODocProjectManager extends com.teotigraphix.teodoc.core.TEODocObject Any way to do this? Any more docs being produced for these classes? Remember, I have been reading the spotty docs on this and most of my trips are guesses ;-) Also, how do I set up the flash trace.txt file ??? Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders " on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] polymorphic interfaces
Hello Gordon, My bad, I was having a weird problem with events. Am I misunderstanding or do the bubbles property only apply to DisplayObject's ? That is what it says in the docs. The events bubble through the displayList. A question, can you use bubbles with a class framework? This class is not connected to DisplayObject just EventDispatcher. I tried using bubbles and I guess I am missing the point when it comes to non-DisplayObjects. The problem I had was; - I am using an amf service class, - this class dispatches a loaded event - then the listener of the service grabs that event say the Project class Can I have a class that hooks a loaded listener to the Project instance and use bubbles without redispatching the ResultEvent from the Project class? I relaize the implementation of clone() now but, it was due to the error above that Flex said cannot coerce flash.events.Event to com.teotigraphix.events.ResultEvent. I had to end up making a new event using clone() and pass it on, then the compiler didn't care. But in the method of the stack just before the erorr I traced an "is" and flex said it was a ResultEvent. This is what confused me. Peace, Mike - On 3/7/06, Matt Chotin <[EMAIL PROTECTED]> wrote: I realize that folks are frustrated that you can't change parameters in subclasses, but I want to make sure everyone realizes that in other languages you are always adding new functionality when you change the parameter types, you are not overriding the methods. Take this simple Java example: class Superclass { public void print(Object obj) { System.out.println("Object print: " + obj); } } class Subclass extends Superclass { public void print(String str) { System.out.println("String print: " + str); } } In this example the superclass has a print method that takes an Object and the subclass has the same print method but taking a String. Will the subclass's method be called if I pass in a string? The answer depends on the type of the variable of the instance when I call print. String str = "blah"; Superclass inst = new Superclass(); inst.print(str); inst = new Subclass(); inst.print(str); System.out.println("---"); Subclass sub = new Subclass(); sub.print(str); Output: Object print: blah Object print: blah --- String print: blah When the variable was typed as the superclass, regardless of whether the instance was the superclass or subclass the superclass method was called. I had to have my instance typed as the subclass for the new method to be reached. And what if we do: Object obj = "string typed as object"; sub.print(obj); Guess what, it prints the Object version even though the actual value is a String. So let's be clear that polymorphism is not really coming into play here. You would still need to have the strongly typed reference to the subclass to accurately access the new functionality. And if that's the case, having a different method name than the superclass isn't such a big deal IMHO. Now the ability to overload the parameters is certainly something I wish we supported… Matt From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Monday, March 06, 2006 4:15 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] polymorphic interfaces i kinda walked the other way and excluyded this method from the interdface since i want each class to return its type (its a semantic argument but it hink a clone method should return the correct type and not some base type) On 3/6/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: Hello, This is funny becasue I was just having this problem with the Event clone() ! :) I guess I just slammed it with a coerrsion for now.(Yeah I realize this is not an interface but it's the same idea :: you can't override a return type) But, yeah, I second this motion for the futrue! Peace, Mike On 3/6/06, Gordon Smith < [EMAIL PROTECTED]> wrote: I think there's general agreement here that we want to do this in a future release, but that the schedule doesn't allow it for this release. There are quite a few other things that people want as well -- strongly-typed array, enums, inner classes, etc. -- but we can't open up the feature set again this late in the cycle (nearly Beta 2). - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Monday, March 06, 2006 1:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] polymorphic interfaces hi all, especially Adobe dudes working on ze language. the fact that method signatures are not polymorphic when implementing a
Re: [flexcoders] Why Java 1.4?????
Sorry for your bad day, Remeber this, Flex2 does not have to be java. Ironically, I probably never will use Flex2 with java and for the most part, there can be an infinate amount of applications without Java and Flex2. Maybe you should refrase and say, Adobe isn't supporting their Java developers well but, Flex2 is a breath of fresh air for those who don't use java. Peace, MikeOn 3/7/06, digital_eyezed <[EMAIL PROTECTED]> wrote: Why wont flex 1.5 work with anything other than 1.4 JDK? It doesn't even work with the latest Tomcat, why would anyone constrain an application to a version of JRE, JDK or tomcat version? This is useless if the rest of the environment want to move on to pastures new and Flex is left behind dragging everyone back. I guess this is going to be the same problem with Flex 2, as soon as it's released it's stuck in a timewarp of 'old java'. It doesn't work with the latest JBOSS either or for that matter the last 14 versions, that's how sanboxed a technology it is. Maybe they should have spent time thinking about how to suppport it rather than how to price it, it only makes life difficult for us in a lose lose situation. Please remember that Flex 2 is still in beta and they should be supporting their existing release, without trying to hype everyone up about what the future brings.. Iain -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Why Java 1.4?????
Your obviously pissed, I never used Flex1.5, so I have no reason to think about it. Read my post, say Java developers are not happy, that is what you are saying. I am going to be making money with Flex2, so it is ALL I talk, dream and think about. Don't take the whole ship down with your one bitch. Peace, MikeOn 3/7/06, digital_eyezed <[EMAIL PROTECTED]> wrote: Just knew it.. Can't talk about anything else other than Flex2, hasn't even been released yet. Guess what, Flex3 is Nuclear, let's talk about that now. Iain --- In flexcoders@yahoogroups.com, "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > Sorry for your bad day, > > Remeber this, > > Flex2 does not have to be java. Ironically, I probably never will use Flex2 > with java and for the most part, there can be an infinate amount of > applications without Java and Flex2. > > Maybe you should refrase and say, Adobe isn't supporting their Java > developers well but, Flex2 is a breath of fresh air for those who don't use > java. > > Peace, Mike > > On 3/7/06, digital_eyezed <[EMAIL PROTECTED]> wrote: > > > > Why wont flex 1.5 work with anything other than 1.4 JDK? > > > > It doesn't even work with the latest Tomcat, why would anyone > > constrain an application to a version of JRE, JDK or tomcat version? > > > > This is useless if the rest of the environment want to move on to > > pastures new and Flex is left behind dragging everyone back. > > > > I guess this is going to be the same problem with Flex 2, as soon as > > it's released it's stuck in a timewarp of 'old java'. > > > > It doesn't work with the latest JBOSS either or for that matter the > > last 14 versions, that's how sanboxed a technology it is. > > > > Maybe they should have spent time thinking about how to suppport it > > rather than how to price it, it only makes life difficult for us in > > a lose lose situation. > > > > Please remember that Flex 2 is still in beta and they should be > > supporting their existing release, without trying to hype everyone > > up about what the future brings.. > > > > Iain > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com > > > > > > > > SPONSORED LINKS > > Web site design development<http://groups.yahoo.com/gads? t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2= Computer+software+development&w3=Software+design+and+development&w4=M acromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L -4QTvxB_quFDtMyhrQaHQ> Computer > > software development<http://groups.yahoo.com/gads? t=ms&k=Computer+software+development&w1=Web+site+design+development&w 2=Computer+software+development&w3=Software+design+and+development&w4 =Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig =lvQjSRfQDfWudJSe1lLjHw> Software > > design and development<http://groups.yahoo.com/gads? t=ms&k=Software+design+and+development&w1=Web+site+design+development &w2=Computer+software+development&w3=Software+design+and+development& w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.s ig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia > > flex<http://groups.yahoo.com/gads? t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+sof tware+development&w3=Software+design+and+development&w4=Macromedia+fl ex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZ I36cYzBjw> Software > > development best practice<http://groups.yahoo.com/gads? t=ms&k=Software+development+best+practice&w1=Web+site+design+developm ent&w2=Computer+software+development&w3=Software+design+and+developme nt&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166 &.sig=f89quyyulIDsnABLD6IXIw> > > -- > > YAHOO! GROUPS LINKS > > > > > > - Visit your group "flexcoders<http://groups.yahoo.com/group/flexcoders>" > > on the web. > > > > - To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED] [EMAIL PROTECTED]> > > > > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of > > Service <http://docs.yahoo.com/info/terms/>. > > > > > > -- &g
Re: [flexcoders] Re: Why Java 1.4?????
Nick, " hmm...that aint helping dude. if someone is doing an implementation with 1.5, then its a pretty big bitch if it doesnt work as expected, oui? " My post maybe was not clear enough, I understand he is trying to implement a concrete 1.5 version using JAVA. Why not inquire about the Java support instead of going off on a tangent about a beta technology oh and even a nuclear technology for that matter. Don't miss my point but there was static in his post. Peace, Mike On 3/7/06, Dave Wolf <[EMAIL PROTECTED]> wrote: Your statements are not accurate. We run under Tomcat 5.5.15 (latest release) and under JDK 1.5. in development and in production for several clients. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, "digital_eyezed" <[EMAIL PROTECTED]> wrote: > > Why wont flex 1.5 work with anything other than 1.4 JDK? > > It doesn't even work with the latest Tomcat, why would anyone > constrain an application to a version of JRE, JDK or tomcat version? > > This is useless if the rest of the environment want to move on to > pastures new and Flex is left behind dragging everyone back. > > I guess this is going to be the same problem with Flex 2, as soon as > it's released it's stuck in a timewarp of 'old java'. > > It doesn't work with the latest JBOSS either or for that matter the > last 14 versions, that's how sanboxed a technology it is. > > Maybe they should have spent time thinking about how to suppport it > rather than how to price it, it only makes life difficult for us in > a lose lose situation. > > Please remember that Flex 2 is still in beta and they should be > supporting their existing release, without trying to hype everyone > up about what the future brings.. > > Iain > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] FB2 :: Components :: Ability to filter Custom folder
Hello, Is there or going to be a way to filter the custom components put in the custom folder of the component's panel? This would be great in the future, although I only have one project open, the folder loads everything even test cases and such. Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Simpler than Flex??????
Maybe this is just a plug ;-) BTW, Is there an etitquet for these . What the heck is the point of putting a question mark in the subject line of a discussion list anyway! Arn't most of these posts questions regaurdless. Maybe one question mark but common, this is going to start to look very unporfessional. Peace, MikeOn 3/8/06, pauland2513 <[EMAIL PROTECTED]> wrote: --- In flexcoders@yahoogroups.com, "flash6designeronline" <[EMAIL PROTECTED]> wrote: > > Hi , > I was just looking for something simpler than flex, > > I came across this on net, named "OpenMacro" > Its a framework for developing RIAs based on Flash. > > looks good though. What little I saw was un-inspiring. I couldn't find the OpenMacro stuff that should have been released and I thought the example was awful. Paul > heres the link > http://www.fruition.in/openmacro > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] flex builder2 internal build error
Sorry, ;( Search this list, about a month - 3 weeks ago I had the same issue and well, happy fishing! My problem was an id had the same name as a var myProp declared in an tag. So essentially, I had; var myButton:Button; When I found this and changed the var myButton:Button to public var myButton:Button, I got the REAL error, duplicate public property. I had over 30 different files that could have had this in it, I got lucky. Long story short, this one little problem cost me 2 days on a component project, but I moved on for awhile to get a fresh look.. Peace, MikeOn 3/8/06, bhaq1972 <[EMAIL PROTECTED]> wrote: Hi In one flexbuilder2 project containing approximately 15 simple mxml apps ( most of which are copies of ones from the livedocs). I am getting 'an internal build error has occured. please check the error log' error. As follows. Any ideas. cant go any further. any help will be appreciated thanks java.lang.OutOfMemoryError !SESSION 2006-03-08 16:17:22.310 --- eclipse.buildId=unknown java.version=1.4.2_09 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.core.resources 2 10035 2006-03-08 16:17:23.834 !MESSAGE A workspace crash was detected. The previous session did not exit normally. !ENTRY org.eclipse.ui 4 4 2006-03-08 16:17:29.836 !MESSAGE Invalid Menu Extension (Path is invalid): zorn.standalone.actions.OpenRunConfigurations !ENTRY org.eclipse.ui 4 4 2006-03-08 16:17:29.852 !MESSAGE Invalid Menu Extension (Path is invalid): zorn.standalone.actions.OpenDebugConfigurations !ENTRY zorn.project 4 43 2006-03-08 16:19:29.484 !MESSAGE Uncaught exception in compiler !STACK 0 java.lang.NullPointerException at flex2.compiler.abc.Compiler.parse(Compiler.java:143) at flex2.compiler.API.parse(API.java:1104) at flex2.compiler.API.parse(API.java:1072) at flex2.compiler.API.batchInner(API.java:156) at flex2.compiler.API.batch(API.java:260) at flex2.compiler.API.compile(API.java:361) at zorn.project.compiler.Compiler.compile(Compiler.java:186) at zorn.project.compiler.internal.FlexIncrementalBuilder.buildApplicatio n(FlexIncrementalBuilder.java:333) at zorn.project.compiler.internal.FlexIncrementalBuilder.build (FlexIncrementalBuilder.java:224) at org.eclipse.core.internal.events.BuildManager$2.run (BuildManager.java:593) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:168) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:202) at org.eclipse.core.internal.events.BuildManager$1.run (BuildManager.java:231) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:234) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:253) at org.eclipse.core.internal.events.BuildManager.build (BuildManager.java:282) at org.eclipse.core.internal.events.AutoBuildJob.doBuild (AutoBuildJob.java:139) at org.eclipse.core.internal.events.AutoBuildJob.run (AutoBuildJob.java:200) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development
Re: [flexcoders] flex builder2 internal build error
Oh yeah, one other thing. This has taught me to :: Treat the little yellow warning symbols as friends saying "the more of me you get to go away, the more time on development I give you", spoken from the mouth of the "yellow warning sprites". Yes, they are you closest friends... Peace, Mike On 3/8/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: Sorry, ;( Search this list, about a month - 3 weeks ago I had the same issue and well, happy fishing! My problem was an id had the same name as a var myProp declared in an tag. So essentially, I had; var myButton:Button; When I found this and changed the var myButton:Button to public var myButton:Button, I got the REAL error, duplicate public property. I had over 30 different files that could have had this in it, I got lucky. Long story short, this one little problem cost me 2 days on a component project, but I moved on for awhile to get a fresh look.. Peace, MikeOn 3/8/06, bhaq1972 < [EMAIL PROTECTED]> wrote: Hi In one flexbuilder2 project containing approximately 15 simple mxml apps ( most of which are copies of ones from the livedocs). I am getting 'an internal build error has occured. please check the error log' error. As follows. Any ideas. cant go any further. any help will be appreciated thanks java.lang.OutOfMemoryError !SESSION 2006-03-08 16:17:22.310 --- eclipse.buildId=unknown java.version=1.4.2_09 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.core.resources 2 10035 2006-03-08 16:17:23.834 !MESSAGE A workspace crash was detected. The previous session did not exit normally. !ENTRY org.eclipse.ui 4 4 2006-03-08 16:17:29.836 !MESSAGE Invalid Menu Extension (Path is invalid): zorn.standalone.actions.OpenRunConfigurations !ENTRY org.eclipse.ui 4 4 2006-03-08 16:17:29.852 !MESSAGE Invalid Menu Extension (Path is invalid): zorn.standalone.actions.OpenDebugConfigurations !ENTRY zorn.project 4 43 2006-03-08 16:19:29.484 !MESSAGE Uncaught exception in compiler !STACK 0 java.lang.NullPointerException at flex2.compiler.abc.Compiler.parse(Compiler.java:143) at flex2.compiler.API.parse(API.java:1104) at flex2.compiler.API.parse(API.java:1072) at flex2.compiler.API.batchInner(API.java:156) at flex2.compiler.API.batch(API.java:260) at flex2.compiler.API.compile(API.java:361) at zorn.project.compiler.Compiler.compile(Compiler.java:186) at zorn.project.compiler.internal.FlexIncrementalBuilder.buildApplicatio n(FlexIncrementalBuilder.java:333) at zorn.project.compiler.internal.FlexIncrementalBuilder.build (FlexIncrementalBuilder.java:224) at org.eclipse.core.internal.events.BuildManager$2.run (BuildManager.java:593) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:168) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:202) at org.eclipse.core.internal.events.BuildManager$1.run (BuildManager.java:231) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:234) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:253) at org.eclipse.core.internal.events.BuildManager.build (BuildManager.java:282) at org.eclipse.core.internal.events.AutoBuildJob.doBuild (AutoBuildJob.java:139) at org.eclipse.core.internal.events.AutoBuildJob.run (AutoBuildJob.java:200) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- What goes up, does come down. --
Re: [flexcoders] Is there a third-party or opensource market for Flex components?
Hello, Are speaking of Flex 1.5 or Flex2? If you are speaking of Flex 2, it would almost be virtually impossible to use a no-flexframework component in a Flex app. You would have to implement so many things. I have been working on many custom components for Flex2, some that you have mentioned. Since we are still in beta1, so are my components. I have a feeling, the thrid party component market will exlode in 1 year(not to mention open source components). There are just to many things a good developer could make for clients that even competition will be mute on some components becasue they are so specailized. It's not like the Flash component market where any one and their brother could put up a cheesy site and say they "sell components". There is another angle here that I think clients will want and that is a standardized documentation presentation. I think any 3rd party developer that can create fantastic docs for their components will be a success(IE following the path of Adobe's docs to begin with). Anyway, it's funny this list does not talk about 3rd party components more, but I am sure they will be when Flex2 goes public. Flex2 is components and that in itself makes this a great market to do great things in. Peace, Mike On 3/9/06, mmthm <[EMAIL PROTECTED]> wrote: I'm new to Flex, and i'm interested in knowing if there are any markets where i can obtain extended Flex components, either commercial or opensource (eg. sourceforge)? I would like to use components that are not currently part of the Flex framework. I'm thinking of components like complex calendaring (eg. http://www.laszlosystems.com/lps/sample-apps/calendar/calendar.lzo? lzt=html), clock controls, gauges, spreadsheet controls, reporting components, specialized grids, gant chart components, network graphing components, chat controls, etc Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] This is my mistake.
What I really think is that someone should proof your copy. "every beautiful little things in this world are fresh ..." ? Unless you are attempting to initiate another, "Your base are belong to us" craze. --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Is there a third-party or opensource market for Flex components?
Yes, they want a rich 3rd party dev market for components. Search this list about 3-4 months ago, I allready asked the question. I mean common, they are releasing the flex framework/compiler for free now. ;-) Peace, MikeOn 3/9/06, Greg Fuller <[EMAIL PROTECTED]> wrote: I thought commercial compenents were a violation of the license agreement in Flex 1. Is this changing in Flex 2 ? On 3/9/06, Jonathan Miranda < [EMAIL PROTECTED]> wrote: Ghostwire was great back when I did Flash development, but I think it's all in AS1 still. _ Jonathan Miranda Flexible Master of the Web "Try not to become a man of success, but a man of value." - Albert Einstein HealthGrades: Guiding America to Better Healthcare™ NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868 [EMAIL PROTECTED] _ The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee. If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Thursday, March 09, 2006 8:43 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Is there a third-party or opensource market for Flex components? Market? Well, there are a bunch of Flash components that can easily be ported to work in Flex, some with no work at all. As far as creating them, however, that takes a lot of work, time, and the decision to go pay vs. open source isn't one to be taken lightly if you value your time at all. There some other sets out there too like mCom, Ghostwire, ActionStep, etc. that have some components unique to their set. Hit Google for Flash components. - Original Message - From: "mmthm" <[EMAIL PROTECTED]> To:Sent: Thursday, March 09, 2006 10:14 AM Subject: [flexcoders] Is there a third-party or opensource market for Flex components? I'm new to Flex, and i'm interested in knowing if there are any markets where i can obtain extended Flex components, either commercial or opensource (eg. sourceforge)? I would like to use components that are not currently part of the Flex framework. I'm thinking of components like complex calendaring (eg. http://www.laszlosystems.com/lps/sample-apps/calendar/calendar.lzo? lzt=html), clock controls, gauges, spreadsheet controls, reporting components, specialized grids, gant chart components, network graphing components, chat controls, etc Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders"
[flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors
Hello, Lets see here, the question is kinda odd... I have the following; private function _getProjectAt(id:uint):Project { var cursor:IViewCursor = projectsQueue.getCursor(); while (!cursor.afterLast) { var curProject:Project = cursor.current as Project; var curID:uint = curProject.id; if (curID == id) { return curProject; } cursor.moveNext(); } return null; } 1) the Project class extends ObjectProxy 2) The Project class wraps a record from mySQL (so we really don't have a set interface for the mySQL record from a record set) 3) When I loop through these Project of type ObjectProxy, is there anyway I can attach an interface to this, IE IProject 4) I know most of the time typing an interface is the best way but, uisng ObjectProxy as a super class, I am wondering if the rules are changing here. Theoretically, we don't know what properties are there because is is a proxy for the ture object. Now, should I type the returned Project class AS Project and programm to the concrete implemenation of Project?? I see know way of creating an interface other that concrete typing. Do you get it ? :) What is the elogent way of nailing down an ObjectProxy class from it's accessors in a concrete implementation? Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2 :: ObjectProxy subclass :: Compiler error on getProperty() override
Hello, Anybody had any luck with the Proxy/ObjectProxy class!! I have this class; package com.teotigraphix.teodoc.core { import com.teotigraphix.teodoc.core.TEODocObject; import mx.utils.ObjectProxy; import mx.utils.events.ObjectEvent; import com.teotigraphix.teodoc.core.IProject; dynamic public class Project extends ObjectProxy implements IProject { public var isOpened:Boolean = false; public function Project(item:Object = null, uid:String = null, proxyDepth:int = -1) { super(item, uid, proxyDepth); } public function open():void { isOpened = true; } public function close():void { isOpened = false; } public function save():void { //projectService.saveProject(id, __source); } public function remove():void { //serviceManager.projectService.deleteProject(id); } override flash_proxy function getProperty(name:Object):Object { return parseInt(object[name]); } } } I want to custom validate/format the string from a mySQL record, that IS the proxied object. This class is giving me a compiler error. "Method marked override must override another method" Well, I am subclassing ObjectProxy, so there IS a method override flash_proxy getProperty(name)! This really dosn't make any sense other than a bug, but if it's not, my brain is already at Saturday. Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex2 :: ObjectProxy subclass :: Compiler error on getProperty() override
Thanks Peter! I had an intution that I needed use namespace but, HA that is what I get for looking at BETA docs! That example is completly out in left field. Thanks, that was the problem. PS, no offense intended but, when Adobe documenters create examples, are they even testing them or is this becasue of different builds. Say, at one time that example DID work? Just curious ;-) In the example I do see the import and I had realized that right after I posted the question but, the 'use' is still not in that example. And one more thing, for those of you reading this out of humor, I made a mistake on the override, you cannot access object with [] accessors. So far I am just calling super.getProperty(name) and THEN validating the value. Peace, Mike Just for Ref ::: The offending example package {import flash.display.Sprite;import flash.util.trace;public class ProxyExample extends Sprite {public function ProxyExample() {var customArr:CustomArray = new CustomArray("one"); customArr.push("two");customArr.push("three");customArr.push("four");trace(customArr.length);// 4trace(customArr[0]);// one trace(customArr[1]);// twotrace(customArr[2]);// threevar lengthOfThree:CustomArray;lengthOfThree = customArr.select(3, function(item:String, value:int){ return item.length == value });trace(lengthOfThree);// one,two}}}import flash.errors.IllegalOperationError;import flash.util.Proxy;import flash.util.flash_proxy; dynamic class CustomArray extends Proxy {protected var arr:Array;protected var props:XML;public function CustomArray(... args) {arr = (args.length == 1 && !isNaN(args[0])) ? new Array(args[0]) : args; props = describeType(arr);}public function select(val:int, fn:Function):CustomArray {var selArr:CustomArray = new CustomArray();for(var i:uint = 0; i < arr.length ; i++) {if(fn.call(this, arr[i], val)) {selArr.push(arr[i]);}}return selArr;}flash_proxy override function callProperty(methodName:*, ...args):* { if(props.method.(@name == methodName.toString()).toXMLString() != "") {return arr[methodName.toString()].apply(null, args);}throw new IllegalOperationError("Error: Call to a possibly undefined method " + methodName.toString() + " through a reference with static type CustomArray");}flash_proxy override function getProperty(variableName:*):* {if((props.accessor.(@name == variableName.toString ()).toXMLString() != "") || parseInt(String(variableName)) < arr.length) {return arr[variableName.toString()];}throw new IllegalOperationError("Error: Access of undefined property " + variableName.toString() + " through a reference with static type CustomArray");}} On 3/10/06, Peter Farland <[EMAIL PROTECTED]> wrote: You don't seem to be importing the namespace and declaring that it will be used in the class... try this: package com.teotigraphix.teodoc.core { import com.teotigraphix.teodoc.core.TEODocObject; import mx.utils.ObjectProxy; import mx.utils.events.ObjectEvent; import com.teotigraphix.teodoc.core.IProject; import flash.util.flash_proxy; use namespace flash_proxy; ... From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael SchmalleSent: Friday, March 10, 2006 11:19 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex2 :: ObjectProxy subclass :: Compiler error on getProperty() override Hello,Anybody had any luck with the Proxy/ObjectProxy class!!I have this class;package com.teotigraphix.teodoc.core { import com.teotigraphix.teodoc.core.TEODocObject; import mx.utils.ObjectProxy; import mx.utils.events.ObjectEvent; import com.teotigraphix.teodoc.core.IProject; dynamic public class Project extends ObjectProxy implements IProject { public var isOpened:Boolean = false; public function Project(item:Object = null, uid:String = null, proxyDepth:int = -1) { super(item, uid, proxyDepth); } public function open():void { isOpened = true; } public function close():void { isOpened = false; } public function save():void { //projectService.saveProject(id, __source); } public function remove():void { //serviceManager.projectService.deleteProject(id); } override fla
[flexcoders] FB2 :: Error subclass :: What is 'native' attribute FB2 inserts
Hello, When creating a subclass that extends Error, I encountered something I have not seen before. Code... created by Flex Builder 2 beta1 package com.teotigraphix.teodoc.errors.projects { public class NullProjectError extends Error { native public function NullProjectError(message:String) { super(message); } } } Now, I have looked evrywhere for this What is 'native', I know I can easily guess what this is(Error is a native Class) but, it's undocumented as far as I know. Is it required ? Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: FB2 :: Error subclass :: What is 'native' attribute FB2 inserts
Hey, Thanks, that is what I thought, just wondered why FB2 inserts it on a constructor. :) PS, You found it in the docs? Where would that be so I can check it out. If it's in the "Statements, Keywords and Directives" I must be blind! Peace, MikeOn 3/10/06, Peter Blazejewicz <[EMAIL PROTECTED]> wrote: Hello Mike, "native" from what I've learned from docs is replacement for "intrinsic" in AS2 language, see "Global.as" flex framework class, that is real "native" usage sample, all impementation is within plugin, and class is for compile time check only, regards, Peter Blazejewicz -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Avoiding scroll in List Control
Hello, Yes, very much so! Once you have established that the list has been rendered from the dataProvider, call myList.height = myList.calculateHeight(); signature:: public function calculateHeight(index:int = -1, count:int = 0):Number See the docs at ListBase. Adobe really kicked &*^ on this Flex2 framework. Peace, MikeOn 3/12/06, Robs <[EMAIL PROTECTED]> wrote: I have a list control with a custom cell renderer inside a repeater object. I want the list's height to be dynamic based on the no. of filled rows. Is it possible? Thanks in advance... -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Avoiding scroll in List Control
Manish, I guess my solution came from more of a component developers perspective. I have actually had use for this with TileList subclasses etc. If your solution works, that is an EASY answer for him ;-) Peace, MikeOn 3/12/06, Manish Jethani <[EMAIL PROTECTED]> wrote: On 3/12/06, Robs <[EMAIL PROTECTED]> wrote: > I have a list control with a custom cell renderer inside a repeater > object. I want the list's height to be dynamic based on the no. of > filled rows. Is it possible? I think you can simply set `rowCount` to `dataProvider.length`. Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors
Thanks Matt, Yeah re-reading my post it dosn't make much sense. You know I am in the labratory ;-) Testing and messing around with thoughts. Basically, I have a mySQL record that I wanted to use as the internal object. Once you load the result, a project IS the record and a Project class is created looping through the record sets. I also wanted to add some methods like save() remove() to the project class. This seemed like a real kewl use of composition. I thought of object proxy becasue I am still finding my 'style' using as3. Seems as though, now that I have tested more things that either I just put all public properties as public var name:String; etc, or write get-set methods for them. The major thing is here I really loved the idea that ObjectProxy monitors that properties. I want to monitor these properties as they change. Binding? I will write more about this if you care to hear it, it's abit long winded for just free typing this thought train. ;-) I think this is just going to be one of those cases where one solution gives me THESE benefits and the other solution gives me THOSE benifits. Time to get out the triple beam :)! Peace, MikeOn 3/12/06, Matt Chotin <[EMAIL PROTECTED]> wrote: Sorry, I really don't get it. So you have a Project that extends ObjectProxy (this is because you want to monitor property access I guess). So now would you really be returning a subclass of Project? Or is the deal that the object within the ObjectProxy has a concrete type that you want to reach? If that is the case you really shouldn't be using the ObjectProxy. The whole point of ObjectProxy is that you don't care what's inside and never want concrete typing. If you want the concrete type you should devise another system. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Friday, March 10, 2006 6:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors Hello, Lets see here, the question is kinda odd... I have the following; private function _getProjectAt(id:uint):Project { var cursor:IViewCursor = projectsQueue.getCursor(); while (!cursor.afterLast) { var curProject:Project = cursor.current as Project; var curID:uint = curProject.id; if (curID == id) { return curProject; } cursor.moveNext(); } return null; } 1) the Project class extends ObjectProxy 2) The Project class wraps a record from mySQL (so we really don't have a set interface for the mySQL record from a record set) 3) When I loop through these Project of type ObjectProxy, is there anyway I can attach an interface to this, IE IProject 4) I know most of the time typing an interface is the best way but, uisng ObjectProxy as a super class, I am wondering if the rules are changing here. Theoretically, we don't know what properties are there because is is a proxy for the ture object. Now, should I type the returned Project class AS Project and programm to the concrete implemenation of Project?? I see know way of creating an interface other that concrete typing. Do you get it ? :) What is the elogent way of nailing down an ObjectProxy class from it's accessors in a concrete implementation? Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders " on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development
Re: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors
Matt, I am using amfphp/mysql, dosn't dataservices require java or more enterprise solutions? Remember, you are dealing with a UI/Component developer, so I am not that educated 'yet' about dataservices etc. I understand what you are saying but, can it be done with amfphp? I say this becasue I just read the chapters on DataServices and I don't see how to implement them using what I use, php. Peace, MikeOn 3/12/06, Matt Chotin <[EMAIL PROTECTED]> wrote: You know you might want to consider looking into DataServices too if the idea is keeping things like your Projects in sync with the server. It takes care of monitoring property changes for you for example. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Sunday, March 12, 2006 3:42 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors Thanks Matt, Yeah re-reading my post it dosn't make much sense. You know I am in the labratory ;-) Testing and messing around with thoughts. Basically, I have a mySQL record that I wanted to use as the internal object. Once you load the result, a project IS the record and a Project class is created looping through the record sets. I also wanted to add some methods like save() remove() to the project class. This seemed like a real kewl use of composition. I thought of object proxy becasue I am still finding my 'style' using as3. Seems as though, now that I have tested more things that either I just put all public properties as public var name:String; etc, or write get-set methods for them. The major thing is here I really loved the idea that ObjectProxy monitors that properties. I want to monitor these properties as they change. Binding? I will write more about this if you care to hear it, it's abit long winded for just free typing this thought train. ;-) I think this is just going to be one of those cases where one solution gives me THESE benefits and the other solution gives me THOSE benifits. Time to get out the triple beam :)! Peace, Mike On 3/12/06, Matt Chotin < [EMAIL PROTECTED]> wrote: Sorry, I really don't get it. So you have a Project that extends ObjectProxy (this is because you want to monitor property access I guess). So now would you really be returning a subclass of Project? Or is the deal that the object within the ObjectProxy has a concrete type that you want to reach? If that is the case you really shouldn't be using the ObjectProxy. The whole point of ObjectProxy is that you don't care what's inside and never want concrete typing. If you want the concrete type you should devise another system. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Friday, March 10, 2006 6:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors Hello, Lets see here, the question is kinda odd... I have the following; private function _getProjectAt(id:uint):Project { var cursor:IViewCursor = projectsQueue.getCursor(); while (!cursor.afterLast) { var curProject:Project = cursor.current as Project; var curID:uint = curProject.id; if (curID == id) { return curProject; } cursor.moveNext(); } return null; } 1) the Project class extends ObjectProxy 2) The Project class wraps a record from mySQL (so we really don't have a set interface for the mySQL record from a record set) 3) When I loop through these Project of type ObjectProxy, is there anyway I can attach an interface to this, IE IProject 4) I know most of the time typing an interface is the best way but, uisng ObjectProxy as a super class, I am wondering if the rules are changing here. Theoretically, we don't know what properties are there because is is a proxy for the ture object. Now, should I type the returned Project class AS Project and programm to the concrete implemenation of Project?? I see know way of creating an interface other that concrete typing. Do you get it ? :) What is the elogent way of nailing down an ObjectProxy class from it's accessors in a concrete implementation? Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software developmen
Re: [flexcoders] Drag & drop *from* the user's file system into a Flex 2.0 app
Hello, My insight is that would be a dream. I bet Adobe is thinking along the same lines though. Looking at Flash5 to Flex2, you can imagine anything for the future. ;-) Other than a no answer to your question, you could use a server side language locally to accomplish something close but, no dice on the OS to Flash Player just using the Flash Player 8.5. Peace, MikeOn 3/13/06, David Katz <[EMAIL PROTECTED]> wrote: I know the Flash player is limited in its ability interact with the user's file system. I'm wondering if a Flex 2.0 application (and the new Flash player) has the ability to enable a user to drag a file or folder *from the file system* onto a Flex app and have the app perform an action (such as reading meta data on the files, uploading them, etc.). Does anybody have any insight about this? thanks, David -- David Katz [EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Google, Yahoo hooked on AJAX?
I think it will be 'the proof is in the pudding'. BTW, isn't it the actual developers like us that make a technology seen and be competitive ? :) It's all in the implementation, meaning, users are conditioned to what they see and if they see usable flex2 apps in a year, paradigm shift happens. Peace, MikeOn 3/13/06, dos dedos <[EMAIL PROTECTED]> wrote: I agree re: no envangelismHowever, it's very helpful for some of of us to understand the context and not just the content of what we're getting into. :) Nick Weekes <[EMAIL PROTECTED]> wrote: personally id rather not see a technology evangelism debate appear on this forum, thats a little OT for my liking. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jignesh DodiyaSent: 13 March 2006 18:17To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Google, Yahoo hooked on AJAX? Jesse has really a mature idea on this.. Don't u think, this forum can be more fruitfull if anybody from Adobe do share his/her idea on this forum. Afterall its their duty to make people encourage to use flex over AJAX, and the community always likes to hear Flex expert's comment on such intensive topic? On 3/13/06, dos dedos < [EMAIL PROTECTED]> wrote: << Yahoo has a lot of efforts in regards to Flex & Flash, you just probably haven't read about them, is all, or they didn't get as widely publicized.>> That's what I wanted to find out ... thanks forpointing it out!!! JesterXL < [EMAIL PROTECTED]> wrote: AJAX is here, works, has a large community, is an old technology and thus has a plethora of resources. Flex 2 isn't publicy out yet in an official capacity and Flex 1.5's price point excludes a lot of those types of endeavors. Yahoo uses both; they are a big company. Yahoo Maps utilized Flex 1.5. They should of used Flash Player 8's bitmap features so it wasn't the best use of Flex, but it at least got us on the radar. They are also experiementing with updating some of the Java games to Flash. Again, neither Google nor Yahoo can utilize Flex 2 because even if they did, no one could see it. Flash Player 8.5 is beta, not publicly available, and you have to download the entire Flex 2 package just to get it (which is a good thing). Yahoo has a lot of efforts in regards to Flex & Flash, you just probably haven't read about them, is all, or they didn't get as widely publicized. Bottom line, AJAX is here, has been for awhile, and works. Flex 2 isn't even out yet. Sparkle's awesome, but you don't see people, even Microsoft, creating Sparkle apps. - Original Message - From: dos dedos To: flexcoders@yahoogroups.com Sent: Monday, March 13, 2006 12:24 PM Subject: [flexcoders] Google, Yahoo hooked on AJAX? Google has purchased at least one company that uses Flash or Flex (a Web analytics startup) but their own internal efforts seem to be always focused on AJAX ... e.g. the latest Google Mars ( http://www.google.com/mars/)So it's fair to wonder why Google isn't doing more with Flex at this time ... and why Flickr (Yahoo) moved from Flash to AJAX ... especially given the fact that Flex 2 has a lot going for it from technical and end-user perspectives. Attitudes change over time and new technologies take a while to adopt, but it'd be nice to understand whether or not Google, Yahoo and others are consciously resisting Flex based on some non-technical reason (e.g. the fact that Flex is a proprietary platform whereas AJAX is not.) Google's and Yahoo's position doesn't matter all that much as far as market adoption for Flex, but it would be interesting to understand the strategic reasons why Google, Yahoo and other major players (e.g. eBay) have so far prefer! red to stick with AJAX. An interesting position for Google and Yahoo would be to endorse AJAX half of the time and Flex the other half, or two thrids to one. This way they would keep the market from leaning too heavily in favor of either. But as of now, they're leaning too heavily in favor of AJAX, yet it's very possible that they'll release (or acquire) something based on Flex 2 in the future. I believe Sun has been very successful with Java on the server side ... Flex could become as popular on the client side as Java is on the server side if it's opened up in the style of the Java Community Process.Just curious if anyone has any insights about where Adobe may be going with Flex ... ?Marc Yahoo! MailBring photos to life! New PhotoMail makes sharing a breeze. Yahoo! MailBring photos to life! New PhotoMail makes sharing a breeze.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSOREDLINKS Web site design development
[flexcoders] Flex2 :: Component-Inheriting Styles :: Help
Hello, Lets say we have Component and SubComponent(composite inside Component, queued in Component.allChildrensList). 1) SubComponent uses getStyle("sizerThickness") How do I get this to where you call Component.setStyle("sizerThickness") and through inheriting this style, SubComponent can use it's getStyle("sizerThickenss") when the Component gets it's setStyle() called? I have tried many things, putting [Style()] and saying inherit="yes" in SubComponent. Everything works when I use the StyleManager to register in the classConstruct but, when you call setStyle on Component in an mxml file, the new value is not being used in SubComponent. Now, this is not a style that would benifit from a styleChanged() / updateDisplayList() call becasue the style is actually used in the updateDisplayList() method when setActualSize() is called. Any thoughts? Sure wish we had some hard core implementations to look at becasue I could answer this question in about 5 seconds.(IE Adobe source code of components). Hey Adobe, is this going to happen in any of the beta releases to come? Pretty please... ;-) Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Google, Yahoo hooked on AJAX?
Figure of speech... ;-) First you boild the water, then you add the pudding mix & milk, then you stir with love, then you let simmer, then you refirgerate for half a day, then it taste mmm mm good. But, it wans't pudding to begin with, only if you read the directions first. :) Peace, MikeOn 3/13/06, dos dedos <[EMAIL PROTECTED]> wrote: Usable pudding?Michael Schmalle < [EMAIL PROTECTED]> wrote:I think it will be 'the proof is in the pudding'. BTW, isn't it the actual developers like us that make a technology seen and be competitive ? :) It's all in the implementation, meaning, users are conditioned to what they see and if they see usable flex2 apps in a year, paradigm shift happens. Peace, MikeOn 3/13/06, dos dedos < [EMAIL PROTECTED]> wrote:I agree re: no envangelism However, it's very helpful for some of of us to understand the context and not just the content of what we're getting into. :) Nick Weekes < [EMAIL PROTECTED]> wrote: personally id rather not see a technology evangelism debate appear on this forum, thats a little OT for my liking. From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Jignesh DodiyaSent: 13 March 2006 18:17To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Google, Yahoo hooked on AJAX? Jesse has really a mature idea on this.. Don't u think, this forum can be more fruitfull if anybody from Adobe do share his/her idea on this forum. Afterall its their duty to make people encourage to use flex over AJAX, and the community always likes to hear Flex expert's comment on such intensive topic? On 3/13/06, dos dedos < [EMAIL PROTECTED]> wrote: << Yahoo has a lot of efforts in regards to Flex & Flash, you just probably haven't read about them, is all, or they didn't get as widely publicized.>> That's what I wanted to find out ... thanks forpointing it out!!! JesterXL < [EMAIL PROTECTED]> wrote: AJAX is here, works, has a large community, is an old technology and thus has a plethora of resources. Flex 2 isn't publicy out yet in an official capacity and Flex 1.5's price point excludes a lot of those types of endeavors. Yahoo uses both; they are a big company. Yahoo Maps utilized Flex 1.5. They should of used Flash Player 8's bitmap features so it wasn't the best use of Flex, but it at least got us on the radar. They are also experiementing with updating some of the Java games to Flash. Again, neither Google nor Yahoo can utilize Flex 2 because even if they did, no one could see it. Flash Player 8.5 is beta, not publicly available, and you have to download the entire Flex 2 package just to get it (which is a good thing). Yahoo has a lot of efforts in regards to Flex & Flash, you just probably haven't read about them, is all, or they didn't get as widely publicized. Bottom line, AJAX is here, has been for awhile, and works. Flex 2 isn't even out yet. Sparkle's awesome, but you don't see people, even Microsoft, creating Sparkle apps. - Original Message - From: dos dedos To: flexcoders@yahoogroups.com Sent: Monday, March 13, 2006 12:24 PM Subject: [flexcoders] Google, Yahoo hooked on AJAX? Google has purchased at least one company that uses Flash or Flex (a Web analytics startup) but their own internal efforts seem to be always focused on AJAX ... e.g. the latest Google Mars ( http://www.google.com/mars/)So it's fair to wonder why Google isn't doing more with Flex at this time ... and why Flickr (Yahoo) moved from Flash to AJAX ... especially given the fact that Flex 2 has a lot going for it from technical and end-user perspectives. Attitudes change over time and new technologies take a while to adopt, but it'd be nice to understand whether or not Google, Yahoo and others are consciously resisting Flex based on some non-technical reason (e.g. the fact that Flex is a proprietary platform whereas AJAX is not.) Google's and Yahoo's position doesn't matter all that much as far as market adoption for Flex, but it would be interesting to understand the strategic reasons why Google, Yahoo and other major players (e.g. eBay) have so far prefer! red to stick with AJAX. An interesting position for Google and Yahoo would be to endorse AJAX half of the time and Flex the other half, or two thrids to one. This way they would keep the market from leaning too heavily in favor of either. But as of now, they're leaning too heavily in favor of AJAX, yet it's very possible that they'll release (or acquire) something based on Flex 2 in the future. I believe Sun has been very successful with Java on the server side ... Flex could become as popu
Re: [flexcoders] Flex2 :: Component-Inheriting Styles :: Help
Hi Manish, I understand what you wrote, I guess my question is more about the implementation of getStyle(). If you have a sub component that needs to access 'sizerThickness', and it's a composited component that stands on it's own as a 'component', should I declare that style on the Host component. AHHH, this is to complicated to explain. Basically it's like RectBorder. All containers use a border compositied inside themselves. How do you set up RectBorder to correctly get a borderStyle style from it's parent? THis is basically my problem. Also, the getStyle method is called each time(for now) setActualSize() is called within the sub component. THis why I am saying the styleChanged() method really is irrelivent to my case other than if it actually sets the prop on the child. Does it do that? Peace, MikeOn 3/14/06, Manish Jethani <[EMAIL PROTECTED]> wrote: On 3/14/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: > Lets say we have Component and SubComponent(composite inside Component, queued in Component.allChildrensList). > > 1) SubComponent uses getStyle("sizerThickness") > > How do I get this to where you call Component.setStyle("sizerThickness") and through inheriting this style, SubComponent can use it's getStyle("sizerThickenss") when the Component gets it's setStyle() called? [snip] If the style is an inheriting style, the `styleChanged` method of all descendants will get called. That's where you can call `invalidateDisplayList` (which will lead to a call to `updateDisplayList` by the framework). Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex 2 Style Explorer (beta)
Ryan, I was just about to say the same thing! :) Peace, MikeOn 3/14/06, Ryan Stewart <[EMAIL PROTECTED]> wrote: Peter, This is totally off-topic, but your signature is very, very cool. -Ryan From: Peter Baird[mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 14, 2006 4:38 PM -08:00To: flexcoders@yahoogroups.com [ flexcoders@yahoogroups.com]Subject: [flexcoders] Flex 2 Style Explorer (beta) Just wanted to let you that Flex 2 Style Explorer (beta) is available for download. The usual beta caveats apply.Read more here: http://weblogs.macromedia.com/mc/archives/2006/03/flex_2_style_ex.cfm / \ ® PETER BAIRD888/ \888 User Experience Consultant88/ / \88 Adobe Consulting | Adobe Systems, Inc 8/ /8\ \8 275 Grove St. Newton, MA/ /888\ \ Office: 617.219.2126 | Cell: 617.803.6804 \8\ AIM: pbaird00 | Y!IM: pbaird00 --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Organize. Communicate. Share. @ www.goowy.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex2 :: Component-Inheriting Styles :: Help
Manish, H I feel like an idiot! I forgot the styleName pointer. OMG! Your right, this is where I messed up. I guess I am doing tomany things at once. I feel like a newbie right now man. Thanks a lot. PS Is it convention now that you put all child creation calls in an if() statement? I thought createChildren() only ran once. Did this change in Flex2? Peace, MikeOn 3/14/06, Manish Jethani <[EMAIL PROTECTED]> wrote: On 3/14/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: > I understand what you wrote, I guess my question is more about the implementation of getStyle(). > > If you have a sub component that needs to access 'sizerThickness', and it's a composited component that stands on it's own as a 'component', should I declare that style on the Host component. Let's say you have a main component, say "Foo". And you have a subcomponent, say "Sizer". Every Foo has a Sizer. The Sizer's colour is determined by Foo's "sizerColor" style. The Sizer instance lives in the `allChildrenList` of Foo. Given the above scenario, "sizerColor" should be declared as a style of Foo, so you can write MXML code like so: Now your question is: how does the Sizer know its colour? In the `createChildren` of Foo, where the Sizer instance is created, its `styleName` property is set to point to the Foo instance. override protected function createChildren():void { if (!sizer) { sizer = new sizerClass(); sizer.styleName = this; // XXX } super.createChildren(); } Now, inside Sizer's code, when you call `getStyle`, it actually gets the style value off the style settings of the Foo object. So `styleName` is the important thing here. Got it? When you create extra chome objects in your component's `createChildren`, just point their `styleName` to `this`. Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex2 :: Component-Inheriting Styles :: Help
BTW, I just added that simple little line and it works just like expected. Well, who says wasting hours on a solution that takes 1 second is a bad thing?! :-) Peace, MikeOn 3/14/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: Manish, H I feel like an idiot! I forgot the styleName pointer. OMG! Your right, this is where I messed up. I guess I am doing tomany things at once. I feel like a newbie right now man. Thanks a lot. PS Is it convention now that you put all child creation calls in an if() statement? I thought createChildren() only ran once. Did this change in Flex2? Peace, MikeOn 3/14/06, Manish Jethani < [EMAIL PROTECTED]> wrote: On 3/14/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: > I understand what you wrote, I guess my question is more about the implementation of getStyle(). > > If you have a sub component that needs to access 'sizerThickness', and it's a composited component that stands on it's own as a 'component', should I declare that style on the Host component. Let's say you have a main component, say "Foo". And you have a subcomponent, say "Sizer". Every Foo has a Sizer. The Sizer's colour is determined by Foo's "sizerColor" style. The Sizer instance lives in the `allChildrenList` of Foo. Given the above scenario, "sizerColor" should be declared as a style of Foo, so you can write MXML code like so: Now your question is: how does the Sizer know its colour? In the `createChildren` of Foo, where the Sizer instance is created, its `styleName` property is set to point to the Foo instance. override protected function createChildren():void { if (!sizer) { sizer = new sizerClass(); sizer.styleName = this; // XXX } super.createChildren(); } Now, inside Sizer's code, when you call `getStyle`, it actually gets the style value off the style settings of the Foo object. So `styleName` is the important thing here. Got it? When you create extra chome objects in your component's `createChildren`, just point their `styleName` to `this`. Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex2 :: Component-Inheriting Styles :: Help
Oh yeah, They were doing that back with Flex1, got ya Thanks, Peace, MikeOn 3/14/06, Manish Jethani <[EMAIL PROTECTED]> wrote: On 3/15/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: > PS Is it convention now that you put all child creation calls in an if() statement? I thought createChildren() only ran once. Did this change in Flex2? > `createChildren` only runs once, but a subclass can override `createChildren` and create a child object different there. function createChildren() { if (!titleBar) { // if subclass has not created the title bar, create it here titleBar = new ...; } super.createChildren(); } The superclass's `createChildren` is called last. Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: RE : [flexcoders] RTE -- Flex 2 Style Explorer (beta)
Hello, Do you have Flex2 installed? There is a Text Editor in the component framework. Peace, MikeOn 3/14/06, Robert Thompson <[EMAIL PROTECTED]> wrote: If anyone knows where I can begin in utilizing a Rich Text Editor for FLEX 2.0 I'd appreciate it. FLoaded came out with one but they keep leaving bugs in it so it's good, but just short of good enough to be as good as it needs to be. I keep hearing Macromedia is going to come out with one in the Framework, is it there somewhere? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2 :: 3rd party Components :: blog/site(future)
Hello list, Since I ask more questions than answer for now, I would like those interested to bookmark my blog and eventual Flex2 component community site. I am going to get all my brain waves out on this so people can help me proliferate why flex components rock. For those who wonder about solid 3rd party component sites when Flex2 goes public, well my site teotigraphix.com will sell them but this site is all about creating the community.!!! I have been developing components for 3 years now and it's time to have fun :) http://www.flex2components.com Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors
" right now." Are you trying to imply something? Or you just being funny. ;-) You can't talk like that and not have someone take you seriously that loves php :-) If I wrote the sentence it would say; Yes, FDS is not meant for PHP. haha but you say 'right now', ok! Peace, Mike On 3/15/06, Matt Chotin <[EMAIL PROTECTED]> wrote: Oops, yes FDS is not meant for PHP right now. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Monday, March 13, 2006 5:29 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors Matt, I am using amfphp/mysql, dosn't dataservices require java or more enterprise solutions? Remember, you are dealing with a UI/Component developer, so I am not that educated 'yet' about dataservices etc. I understand what you are saying but, can it be done with amfphp? I say this becasue I just read the chapters on DataServices and I don't see how to implement them using what I use, php. Peace, Mike On 3/12/06, Matt Chotin < [EMAIL PROTECTED]> wrote: You know you might want to consider looking into DataServices too if the idea is keeping things like your Projects in sync with the server. It takes care of monitoring property changes for you for example. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Sunday, March 12, 2006 3:42 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors Thanks Matt, Yeah re-reading my post it dosn't make much sense. You know I am in the labratory ;-) Testing and messing around with thoughts. Basically, I have a mySQL record that I wanted to use as the internal object. Once you load the result, a project IS the record and a Project class is created looping through the record sets. I also wanted to add some methods like save() remove() to the project class. This seemed like a real kewl use of composition. I thought of object proxy becasue I am still finding my 'style' using as3. Seems as though, now that I have tested more things that either I just put all public properties as public var name:String; etc, or write get-set methods for them. The major thing is here I really loved the idea that ObjectProxy monitors that properties. I want to monitor these properties as they change. Binding? I will write more about this if you care to hear it, it's abit long winded for just free typing this thought train. ;-) I think this is just going to be one of those cases where one solution gives me THESE benefits and the other solution gives me THOSE benifits. Time to get out the triple beam :)! Peace, Mike On 3/12/06, Matt Chotin < [EMAIL PROTECTED]> wrote: Sorry, I really don't get it. So you have a Project that extends ObjectProxy (this is because you want to monitor property access I guess). So now would you really be returning a subclass of Project? Or is the deal that the object within the ObjectProxy has a concrete type that you want to reach? If that is the case you really shouldn't be using the ObjectProxy. The whole point of ObjectProxy is that you don't care what's inside and never want concrete typing. If you want the concrete type you should devise another system. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Friday, March 10, 2006 6:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors Hello, Lets see here, the question is kinda odd... I have the following; private function _getProjectAt(id:uint):Project { var cursor:IViewCursor = projectsQueue.getCursor(); while (!cursor.afterLast) { var curProject:Project = cursor.current as Project; var curID:uint = curProject.id; if (curID == id) { return curProject; } cursor.moveNext(); } return null; } 1) the Project class extends ObjectProxy 2) The Project class wraps a record from mySQL (so we really don't have a set interface for the mySQL record from a record set) 3) When I loop through these Project of type ObjectProxy, is there anyway I can attach an interface to this, IE IProject 4) I know most of the time typing an interface is the best way but, uisng ObjectProxy as a super class, I am wondering if the rules are changing here. Theoretically, we don't know what properties are there because is is a proxy for the ture object. Now, should I type the returned Project class AS Project an
Re: [flexcoders] Flex2 flash_proxy/Proxy getProperty and Binding
Well, I was just in this classroom the other day. If I get your question correctly.. Add; use namespace flash_proxy; right under the import flash.util.flash_proxy. If you got this code from an example, it was missing the use statement. I missed this also!, Once the use is in there it works great! Peace, MikeOn 3/15/06, Renaun Erickson <[EMAIL PROTECTED]> wrote: The sample code is located below. I am trying to find a way to bind dynamic attributes (when using Proxy class). I can't get the dynamic properties to bind, any suggestions or help would be appreciated. Renaun Proxy Class: package { import flash.util.flash_proxy; import flash.util.Proxy; dynamic public class SomeClass extends Proxy { public var _dynamicAttributeArray:Array; public function SomeClass() { _dynamicAttributeArray = new Array(); } flash_proxy override function getProperty( name : * ) : * { return _dynamicAttributeArray[ name ]; } flash_proxy override function setProperty(name:*, value:*):void { _dynamicAttributeArray[ name ] = value; } } } Now if I have: http://www.macromedia.com/2005/mxml" xmlns="*" creationComplete="initApplication()"> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Flex2 flash_proxy/Proxy getProperty and Binding
That is what I thought, a bit more going on then just use namespace. I was trying to look at the bindings but, honsetly I havn't tried that. :) Peace, MikeOn 3/15/06, Renaun Erickson <[EMAIL PROTECTED]> wrote: Mike, Thanks for your idea, I wrote this code myself to try and pin down a problem I am having. I can't get dynamic properties to bind. I tried the "use namespace flash_proxy" in the SomeClass.as and it didn't help. The SomeClass.mxml has a textarea that I am trying to bind the instance of someClass with a dynamic property newAttribute to the "text" property. The button on the mxml changes the someClass.newAttribute to help with the testing of the binding of a dynamic property. Renaun --- In flexcoders@yahoogroups.com, "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > Well, I was just in this classroom the other day. If I get your question > correctly.. > > Add; > > use namespace flash_proxy; > > right under the import flash.util.flash_proxy. > > If you got this code from an example, it was missing the use statement. I > missed this also!, Once the use is in there it works great! > > Peace, Mike > > On 3/15/06, Renaun Erickson <[EMAIL PROTECTED]> wrote: > > > > The sample code is located below. I am trying to find a way to bind > > dynamic attributes (when using Proxy class). I can't get the dynamic > > properties to bind, any suggestions or help would be appreciated. > > > > Renaun > > > > Proxy Class: > > package { > > import flash.util.flash_proxy; > > import flash.util.Proxy; > > > > dynamic public class SomeClass extends Proxy { > > > > public var _dynamicAttributeArray:Array; > > > > public function SomeClass() { > > _dynamicAttributeArray = new Array(); > > } > > > > flash_proxy override function getProperty( name : * ) : * { > > return _dynamicAttributeArray[ name ]; > > } > > > > flash_proxy override function setProperty(name:*, > > value:*):void { > > _dynamicAttributeArray[ name ] = value; > > } > > } > > } > > > > > > Now if I have: > > > > http://www.macromedia.com/2005/mxml" xmlns="*" > > creationComplete="initApplication()"> > > > > > > click="someClass.newAttribute = '' + > > new > > Date();"/> > > > > > > > > > > > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > > > > SPONSORED LINKS > > Web site design development< http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ > Computer > > software development< http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw > Software > > design and development< http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ > Macromedia > > flex< http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw > Software > > development best practice< http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw > > > -- >
Re: [flexcoders] Flex2 :: 3rd party Components :: blog/site(future)
I like your sense of humor, very sutle ;-) Peace, MikeOn 3/15/06, dos dedos <[EMAIL PROTECTED]> wrote: coolI think there is also a big need for Actionscript libraries ... with examples :)I think 3rd party UI components and Actionscript libraries will go hand in hand to enable more rapid development. :)Michael Schmalle < [EMAIL PROTECTED]> wrote:Hello list, Since I ask more questions than answer for now, I would like those interested to bookmark my blog and eventual Flex2 component community site. I am going to get all my brain waves out on this so people can help me proliferate why flex components rock. For those who wonder about solid 3rd party component sites when Flex2 goes public, well my site teotigraphix.com will sell them but this site is all about creating the community.!!! I have been developing components for 3 years now and it's time to have fun :) http://www.flex2components.com Peace, Mike-- What goes up, does come down. Yahoo! Mail Use Photomail to share photos without annoying attachments. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors
Oh I know Matt, Just allittle humor, there is no hopes here. I can do quite a bit already just using what I have availible to me :) And from my humor there was No inference that it 'might' happen in version 2. On 3/15/06, Matt Chotin <[EMAIL PROTECTED] > wrote: You never know what Product Management could decide is important ;-) But I would say that you should not use my words to get your hopes up in any way. No PHP and FDS for version 2 for sure. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Wednesday, March 15, 2006 3:18 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors " right now." Are you trying to imply something? Or you just being funny. ;-) You can't talk like that and not have someone take you seriously that loves php :-) If I wrote the sentence it would say; Yes, FDS is not meant for PHP. haha but you say 'right now', ok! Peace, Mike On 3/15/06, Matt Chotin <[EMAIL PROTECTED]> wrote: Oops, yes FDS is not meant for PHP right now. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Monday, March 13, 2006 5:29 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors Matt, I am using amfphp/mysql, dosn't dataservices require java or more enterprise solutions? Remember, you are dealing with a UI/Component developer, so I am not that educated 'yet' about dataservices etc. I understand what you are saying but, can it be done with amfphp? I say this becasue I just read the chapters on DataServices and I don't see how to implement them using what I use, php. Peace, Mike On 3/12/06, Matt Chotin < [EMAIL PROTECTED]> wrote: You know you might want to consider looking into DataServices too if the idea is keeping things like your Projects in sync with the server. It takes care of monitoring property changes for you for example. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Sunday, March 12, 2006 3:42 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors Thanks Matt, Yeah re-reading my post it dosn't make much sense. You know I am in the labratory ;-) Testing and messing around with thoughts. Basically, I have a mySQL record that I wanted to use as the internal object. Once you load the result, a project IS the record and a Project class is created looping through the record sets. I also wanted to add some methods like save() remove() to the project class. This seemed like a real kewl use of composition. I thought of object proxy becasue I am still finding my 'style' using as3. Seems as though, now that I have tested more things that either I just put all public properties as public var name:String; etc, or write get-set methods for them. The major thing is here I really loved the idea that ObjectProxy monitors that properties. I want to monitor these properties as they change. Binding? I will write more about this if you care to hear it, it's abit long winded for just free typing this thought train. ;-) I think this is just going to be one of those cases where one solution gives me THESE benefits and the other solution gives me THOSE benifits. Time to get out the triple beam :)! Peace, Mike On 3/12/06, Matt Chotin < [EMAIL PROTECTED]> wrote: Sorry, I really don't get it. So you have a Project that extends ObjectProxy (this is because you want to monitor property access I guess). So now would you really be returning a subclass of Project? Or is the deal that the object within the ObjectProxy has a concrete type that you want to reach? If that is the case you really shouldn't be using the ObjectProxy. The whole point of ObjectProxy is that you don't care what's inside and never want concrete typing. If you want the concrete type you should devise another system. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Friday, March 10, 2006 6:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors Hello, Lets see here, the question is kinda odd... I have the following; private function _getProjectAt(id:uint):Project { var cursor:IViewCursor = projectsQueue.getCursor(); while (!cursor.afterLast) { var curProject:Project = cursor.current as Project; var curID:uint = curProject.id; if (
Re: [flexcoders] Re: Flip and mirror a bitmap in Flex
Is the image supposed to be reflected also? From the source it looks like it. But, only the text and buttons are reflected. Peace, MikeOn 3/15/06, Richie Rich <[EMAIL PROTECTED]> wrote: Hi Here is a example of what your looking for with sample code I believe. http://humanwasteland.com/reflectdemo/ReflectFilterDemo.html Have Fun, Rich --- In flexcoders@yahoogroups.com, "Richard Schutten" <[EMAIL PROTECTED]> wrote: > > Hi there, > > Are there standard flip and mirror routines that can be applied in Flex 2 > for bitmaps? > > Greetings, > > Richard > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Flip and mirror a bitmap in Flex
Hmm, I was using FireFox. Will have to try it in FB2. I wonder what the problem is? well, obviously it's that player! ;-) Peace, MikeOn 3/16/06, Richard Schutten <[EMAIL PROTECTED]> wrote: In IE and Opera i couldn't see a reflection of the image but i did see a reflection when i loaded the demo in Flex Builder ! Richard -Original Message-From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]On Behalf Of Michael SchmalleSent: Thursday, March 16, 2006 1:54 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Flip and mirror a bitmap in Flex Is the image supposed to be reflected also? From the source it looks like it. But, only the text and buttons are reflected.Peace, Mike On 3/15/06, Richie Rich <[EMAIL PROTECTED]> wrote: Hi Here is a example of what your looking for with sample code I believe. http://humanwasteland.com/reflectdemo/ReflectFilterDemo.html Have Fun, Rich --- In flexcoders@yahoogroups.com, "Richard Schutten" <[EMAIL PROTECTED]> wrote:> > Hi there,> > Are there standard flip and mirror routines that can be applied inFlex 2> for bitmaps?> > Greetings,> > Richard> --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Newbie again: Trouble implementing custom class (Flex2b)
Well, for starters; com.jbe.picfindr should be projectroot/com/jbe/picfinder/pfHTTPService.as Try that, you need the dots to be actuall directory structure. Are you dead ending the : HTTPService(rootURL:String = null) signature? If not, your super needs to look like super(rootURL:String = null); Peace, Mike On 3/16/06, revanisle <[EMAIL PROTECTED]> wrote: Hi all, Thanks for all the replies to my previous posts. You guys are really helping me learn this stuff. Hopefully by the time Flex2 ships I'll be able to start to give back too... OK. I'm trying to actually start using my own packages and classes. I've created a new class that extends HTTPService and simply adds one new property: package com.jbe.picfindr { import mx.rpc.http.HTTPService; [Property(name="_siteID", type="String")] public class pfHTTPService extends HTTPService { public function pfHTTPService() { super(); public var _siteID:String = ""; public function get siteID() { return _siteID; } public function set siteID(value:uint) { _siteID = value; } } } } This file is called pfHTTPService.as and it lives in a folder called com.jbe.picfindr, which shows up as a package in Flex code hints. When I go to create a new instance in an actionscript block (which includes the line "import com.jbe.picfindr.pfHTTPService;", I get "not a compile time constant" and "trying to access possibly undefined method" errors. I instatiate it like this: var service:pfHTTPService = new pfHTTPService(); Any thoughts? Thanks in advance! Rick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Newbie again: Trouble implementing custom class (Flex2b)
Man, time to eat... SHOULD BE package com.jbe.picfindr { import mx.rpc.http.HTTPService; [Property(name="_siteID", type="String")] // What Is THIS? public class pfHTTPService extends HTTPService { public function pfHTTPService(rootURL:String = null) { super(rootURL); public var _siteID:String = ""; public function get siteID() { return _siteID; } public function set siteID(value:uint) { _siteID = value; } } } } On 3/16/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: Well, for starters; com.jbe.picfindr should be projectroot/com/jbe/picfinder/pfHTTPService.as Try that, you need the dots to be actuall directory structure. Are you dead ending the : HTTPService(rootURL:String = null) signature? If not, your super needs to look like super(rootURL:String = null); Peace, Mike On 3/16/06, revanisle <[EMAIL PROTECTED]> wrote: Hi all, Thanks for all the replies to my previous posts. You guys are really helping me learn this stuff. Hopefully by the time Flex2 ships I'll be able to start to give back too... OK. I'm trying to actually start using my own packages and classes. I've created a new class that extends HTTPService and simply adds one new property: package com.jbe.picfindr { import mx.rpc.http.HTTPService; [Property(name="_siteID", type="String")] public class pfHTTPService extends HTTPService { public function pfHTTPService() { super(); public var _siteID:String = ""; public function get siteID() { return _siteID; } public function set siteID(value:uint) { _siteID = value; } } } } This file is called pfHTTPService.as and it lives in a folder called com.jbe.picfindr, which shows up as a package in Flex code hints. When I go to create a new instance in an actionscript block (which includes the line "import com.jbe.picfindr.pfHTTPService;", I get "not a compile time constant" and "trying to access possibly undefined method" errors. I instatiate it like this: var service:pfHTTPService = new pfHTTPService(); Any thoughts? Thanks in advance! Rick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Is there anywhere to post Flex 2 bugs and enhancement requests?
Being that Adobe aquired the small company MM, wouldn't it not be a strectch to say that this kind of bug reporting is in the future? Seems like it would since they are giving developers the debugging task now??? :-) How much time and resources do you think they are saving on having 'US' help debug their software. ;-) Peace, MikeOn 3/16/06, kautsky62 <[EMAIL PROTECTED]> wrote: --- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 3/16/06, mmthm <[EMAIL PROTECTED]> wrote: > > Is there any official Adobe/Macromedia site to post formal bug reports > > and enhancement requests? > If you post a comment on "LiveDocs" you get a mail back saying... "To report a bug or suggest a new product feature, use the Macromedia Feature Request/Bug Report Form (http://www.macromedia.com/go/wish)" -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Is there anywhere to post Flex 2 bugs and enhancement requests?
"We have a more elaborate system for people enrolled in the formal beta program." Well, that answers it right there. :) "Are you saying we shouldn't have a web form for customers to report bugs?" No, I didn't realize your already had different tiers. "We have approximately a 1:1 QA-engineer-to-dev-engineer, so we're not skimping on in-house QA." Sorry, I must have written to much. As I just mentioned, I didn't realize(for that matter, even engage my brain) that their is "real" beta testers subcribed to the bug base. PS I had an account there when MM was still MM but that was for a component on DevNet. ;-) Peace, Mike On 3/16/06, Gordon Smith <[EMAIL PROTECTED]> wrote: Hi, Mike. Sorry, I'm not clear on what the problem is. Pretty much all software companies have public betas now. In our case, they don't substitute for Adobe's own QA, they augment it. We have approximately a 1:1 QA-engineer-to-dev-engineer, so we're not skimping on in-house QA. If you want to participate and learn about the product before it's released, great. If you want to report bugs so that the ones that annoy you the most might get fixed, great. If you don't want to report bugs, no problem. Only people in the formal beta program are "expected" to help report bugs. Are you saying we shouldn't have a web form for customers to report bugs? Or is the problem that this form isn't a good enough bug reporting system? We have a more elaborate system for people enrolled in the formal beta program. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Thursday, March 16, 2006 4:49 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Is there anywhere to post Flex 2 bugs and enhancement requests? Being that Adobe aquired the small company MM, wouldn't it not be a strectch to say that this kind of bug reporting is in the future? Seems like it would since they are giving developers the debugging task now??? :-) How much time and resources do you think they are saving on having 'US' help debug their software. ;-) Peace, Mike On 3/16/06, kautsky62 <[EMAIL PROTECTED]> wrote: --- In flexcoders@yahoogroups.com , "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 3/16/06, mmthm <[EMAIL PROTECTED]> wrote: > > Is there any official Adobe/Macromedia site to post formal bug reports > > and enhancement requests? > If you post a comment on "LiveDocs" you get a mail back saying... "To report a bug or suggest a new product feature, use the Macromedia Feature Request/Bug Report Form (http://www.macromedia.com/go/wish)" -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders " on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development
Re: [flexcoders] Flex 2 Tree help
Hi, This needs to be.. XPath Peace, Mike On 3/17/06, christopherjdunn <[EMAIL PROTECTED]> wrote: I'm trying out the Tree's and having some problems. I'm using an XML file and can get the 2st level of the tree, but none of the folders or sub items show up. I;m not sure where i'm going wrong, the following is both files. XML File: ASP.NET" /> MXML File: http://www.macromedia.com/2005/mxml" creationComplete="devicetree.send()"> dataProvider="{devicetree.result.node.node}" x="59" y="33"> -Chris -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] AS3 :: Interface type verses Concrete type return
Hello, The question I have is what is the general concensus dealing with how you pass and type a property. Would you type a property with a concerte type if it is used internally in a class ? Or with say ArrayCollection, you need to type it IListViewCollection? I guess the real question is, where is the line between interface implementation and concrete implementation? It's a lot easier to use the getItemAt() of array collection then the cursor internally sometimes, but for a returned type I do understand that you want to hide that by using the interface of ArrayCollection's IListViewCollection. If I keep the interface type this is forcing the client to use the IViewCursor right? Now, is this the standard practice the methods like getItemAt() are only supposed to be used by the objects owner not a client? I'm just trying to nail standard practices here. This question really pertains to the ArrayCollection for me right now. Peace, Mike PS Yes, program to an interface not to an implementation. Sorry if this post might not be clear. I am having a hard time explaing what my true question is :) -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] AS3 :: Interface type verses Concrete type return
Thanks roger, That answers my question exactly! :) This is how I program, so that makes me happy. Sometimes intuition of feeling goes along way with oop. Peace, MikeOn 3/17/06, Roger Gonzalez <[EMAIL PROTECTED]> wrote: My rules of thumb: When passed in from the outside, use an interface. There's generally no reason to bake in a dependency to a particular implementation, whereas adding a concrete type reference will make it strongly coupled; whenever your class is compiled, it will always force the other type to be linked in (ka-ching!). If using the interface feels awkward, there's probably a "thinko" in your (or our) design abstraction. When used internally, can you imagine any situation where you might use a different implemetation? If not, use a concrete type. -rg From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael SchmalleSent: Friday, March 17, 2006 6:05 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] AS3 :: Interface type verses Concrete type return Hello,The question I have is what is the general concensus dealing with how you pass and type a property.Would you type a property with a concerte type if it is used internally in a class ?Or with say ArrayCollection, you need to type it IListViewCollection?I guess the real question is, where is the line between interface implementation and concrete implementation?It's a lot easier to use the getItemAt() of array collection then the cursor internally sometimes, but for a returned type I do understand that you want to hide that by using the interface of ArrayCollection's IListViewCollection. If I keep the interface type this is forcing the client to use the IViewCursor right?Now, is this the standard practice the methods like getItemAt() are only supposed to be used by the objects owner not a client?I'm just trying to nail standard practices here.This question really pertains to the ArrayCollection for me right now. Peace, MikePS Yes, program to an interface not to an implementation. Sorry if this post might not be clear. I am having a hard time explaing what my true question is :)-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] AS3 :: Multiline RegExp declarations :: Future enhancement ? ;-)
Hello, I know it's friday and a party night but, Adobe engineers... Do you ever think down the road, you will give us regexp freaks a multiple line regexp declaration? Anyway, I am doing these things in a doc parser and it's getting long ;-) This would be one of the kewlest things along with comments. Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] AS3 :: Multiline RegExp declarations :: Future enhancement ? ;-)
Yeah, Well.. The only reason I don't like using the string is the esacped back slash sequences. This is a chunck btw, I am using strings. ?var\\s([a-zA-Z_]+)\\s?:?\\s?([a-zA-Z_]+)(\\s?=\\s?(.*))?;? It's those arn double slashes mess my groove up when making complex regexps. Anyway, I am just using a static regexp library that uses string and I pass modifiers and construct the regexp there in a static getRegExp method. So with the library it's write once use anywhere. I guess the double slashes arn't that bad for now. :-() You do it wonderful with XML, RegExp could use that make over someday ;-) PS Jesse, song lyrics in an example, kewl ; I can see the turntables ;-) Peace, MikeOn 3/18/06, Gordon Smith <[EMAIL PROTECTED]> wrote: Forget StringBuilder... it's going away in B3. The player team decided it didn't give enough performance gain in enough useful cases to justify having both String and StringBuilder. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Friday, March 17, 2006 8:01 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] AS3 :: Multiline RegExp declarations :: Future enhancement ? ;-) And use StringBuilder to build teh String to save teh RAM 4 teh w1n! var body:StringBuilder = new StringBuilder(); body.append("some realy"); body.append("really really long"); body.append("regex here"); var regex:RegExp = new RegExp(rockYoBody); - Original Message - From: "Darron J. Schall" <[EMAIL PROTECTED]> To: <flexcoders@yahoogroups.com> Sent: Friday, March 17, 2006 9:16 PM Subject: Re: [flexcoders] AS3 :: Multiline RegExp declarations :: Future enhancement ? ;-) Michael Schmalle wrote: > Do you ever think down the road, you will give us regexp freaks a > multiple line regexp declaration? Don't use a regex literal. Instead, use the constructor and pass a string: var regex:RegExp = new RegExp( "some realy" + "really really long" + "regex here" ); -d -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] AS3 :: Multiline RegExp declarations :: Future enhancement ? ;-)
Darron, blush... If you looked at my php implementation(my as2 doc generator) it had all that plus some hex stuff. I was using this as a test parsing and I never use dollar signs, slipped my mind. Thanks for reminding me ;-) And for that first idea, haha great!!! Man 4 eyes are better than 2! Peace, MikeOn 3/18/06, Matt Chotin <[EMAIL PROTECTED]> wrote: += is much improved from when we needed StringBuilder earlier in the cycle. The gains of StringBuilder were reduced to a very limited number of cases and it was decided that the amount of Player code required along with testing just didn't make it worthwhile. We're still investigating to make sure that some of our stuff didn't degrade but it's likely that we'll fix the String class rather than re-introduce StringBuilder if there are problems. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Darron J. Schall Sent: Saturday, March 18, 2006 12:07 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] AS3 :: Multiline RegExp declarations :: Future enhancement ? ;-) Gordon Smith wrote: Forget StringBuilder... it's going away in B3. The player team decided it didn't give enough performance gain in enough useful cases to justifyhaving both String and StringBuilder. Doh, really? I've actually been using it a decent amount. It's especially handy in testing the SHA1 hash of a million letter a's to verify the hash algorithm is correct: var millionAs:StringBuilder = new StringBuilder ( '' ); millionAs.ensureCapacity( 100 ); for ( var i: int = 0; i < 100 ; i++ ) { millionAs.append( 'a' ); }assertSHA1( millionAs. toString(), "34aa973cd4c4daa4f61eeb2bdbad27316534016f" ); I realize the above loop could be unrolled to make it perform even faster (by appending more 'a's in each append call, and reducing the number of iterations by 10x, 100x, etc). But StringBuilder in this case was a lot faster than using a regular string.. though, I imagine this isn't really a typical use-case. That said, however, it would be a shame to see StringBuilder go -- especially after having written a decent number of pages for it for an upcoming book. Can I petition? :-) -d -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2 :: Rounded Corner Fragments :: What is it!
Hey, Has anybody else noticed that nasty artifact on the panel's rounded corners ? Top especailly. See my blog for a screen shot. http://www.flex2components.com/f2cblog/2006/03/14/teowindow-rectmouseresizer/ What is that 1 pixel rounded line above the 'The'. It is driving me crazy! If this is part of the design, I want to add my 2 cents. It sucks! Looks nasty and why is it there? Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Starting a Project Now! FLEX 1.5 or 2.0?
jeremy wouldn't it be ' my .02 cents ' ;-)On 3/19/06, jeremy lu <[EMAIL PROTECTED]> wrote: beta1 is pretty solid now, definitly should go with flex 2, so you don't have to port it again 3 months later. my .2 centsOn 3/19/06, Jason Hawryluk < [EMAIL PROTECTED]> wrote: I am also in the same position. I started with Flex 1.5, and ever since the Flex 2.0 alpha been in flex 2.0. There is no official release date for it, but I don't think we'll regret thinking ahead. It's also allot easier to use and get around in. There are quite a few changes between AS2 and AS3 IMO; Go with Flex 2.0 Jason -Message d'origine-De : flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]De la part de dos dedosEnvoyé : dimanche 19 mars 2006 06:02À : flexcoders@yahoogroups.comObjet : Re: [flexcoders] Starting a Project Now! FLEX 1.5 or 2.0?If I was in your shoes (which I am actually) I would choose to go with Flex 2.0Quick results are not as important when you're thinking long term ... :)Richie Rich <[EMAIL PROTECTED]> wrote: Hello,I am starting a project that I would like to finish this summer. This is a prototype project, when finished will morph into a bigger project.Would you start in FLEX 1.5 and port it over to 2.0 when it is released or would you use FLEX 2.0 and work through the work arounds and wait for features to mature?Any thoughts or insight?Rich Yahoo! MailUse Photomail to share photos without annoying attachments. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex Enterprise Services and JBoss 4 : fail to run sample apps
Hi, I'm trying to run Flex 2 Enterprise Services on JBoss 4.03 SP1 and get exceptions while deploying. I read a post at Adobe labs forums with the same problem but there were no answers to the question. Did anyone experienced this problem with JBoss? Thanks in advance. Regards, -- Michael "Antares" Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] AS3 :: Multiline RegExp declarations :: Future enhancement ? ;-)
Ah, are you talking about the code panes find/replace? Heh, I won't goto that trouble, I can see myself really messing things up! Peace, MikeOn 3/19/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: Darron, If it's a concern, then when you build your regex don't escape the \'s, and as a last step before you convert them to strings just do a quick find/replace with \ to \\ on the regex. > convert them to strings ... ? I am back into the easy bake oven and burned myself. Are you saying when I write a regexp as a string? Then do a replace on them? The problem is, once you even write a string, it converts them. So it's like the chicken-egg thing. I can't even get the string to a point where I could do this. The string literal allready baked the backslash out. Ok, I am done wasting time, back to the double backslashes until Adobe makes multiline regexp for me. ;-) PS, There seems to be this notion in my mid that I am completly missunderstanding you, if this is the case could you clarify for me? If so, everything I wrote means nothing :) Peace, Mike On 3/18/06, Gordon Smith < [EMAIL PROTECTED]> wrote: > Can I petition? :-) Of course. We're always interested in feedback on whether we're making the right decisions. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Darron J. Schall Sent: Saturday, March 18, 2006 9:07 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] AS3 :: Multiline RegExp declarations :: Future enhancement ? ;-) Gordon Smith wrote: Forget StringBuilder... it's going away in B3. The player team decided it didn't give enough performance gain in enough useful cases to justifyhaving both String and StringBuilder. Doh, really? I've actually been using it a decent amount. It's especially handy in testing the SHA1 hash of a million letter a's to verify the hash algorithm is correct: var millionAs:StringBuilder = new StringBuilder ( '' ); millionAs.ensureCapacity( 100 ); for ( var i: int = 0; i < 100 ; i++ ) { millionAs.append( 'a' ); }assertSHA1( millionAs. toString(), "34aa973cd4c4daa4f61eeb2bdbad27316534016f" ); I realize the above loop could be unrolled to make it perform even faster (by appending more 'a's in each append call, and reducing the number of iterations by 10x, 100x, etc). But StringBuilder in this case was a lot faster than using a regular string.. though, I imagine this isn't really a typical use-case. That said, however, it would be a shame to see StringBuilder go -- especially after having written a decent number of pages for it for an upcoming book. Can I petition? :-) -d -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] FB2 :: Internal Build Error :: Some enlightening thoughts
Hey, I am being really careful about what I do in FB2 and have noticed somethings. I had an object; _classSignature = { modifiers:modifiers signature:signature, packageName:packageName, superClassName:superClassName, superClassPackage:superClassPackage, implementingClasses:implementingClasses } 1) added the modifiers line WITHOUT a comma. (obvious error) 2) switched to another file. (1 second later) 3) changed 1 line and saved (auto build)4) bam, internal build error 5) undid my change in the second file 6) build error still there 7) went back to first file with the object 8) undid my changes 9) saved, build error gone 10) redid what I just took out in the first file 11) SAVED IN THE FIRST FILE 12) THEN I get the real error, missing comma after the modifiers property So it seems that if you don't save the file IN the file, then save in another file the build error can happen! But if you save your changes in the file with the REAL ERROR, nothing happens except the real error is logged. I can't imagine what kind of trouble this would get devs into. I have been burned 2 times with this and now pay close attention to everything I do in FB2. Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] AS3 :: Multiline RegExp declarations :: Future enhancement ? ;-)
Darron, If it's a concern, then when you build your regex don't escape the \'s, and as a last step before you convert them to strings just do a quick find/replace with \ to \\ on the regex. > convert them to strings ... ? I am back into the easy bake oven and burned myself. Are you saying when I write a regexp as a string? Then do a replace on them? The problem is, once you even write a string, it converts them. So it's like the chicken-egg thing. I can't even get the string to a point where I could do this. The string literal allready baked the backslash out. Ok, I am done wasting time, back to the double backslashes until Adobe makes multiline regexp for me. ;-) PS, There seems to be this notion in my mid that I am completly missunderstanding you, if this is the case could you clarify for me? If so, everything I wrote means nothing :) Peace, Mike On 3/18/06, Gordon Smith <[EMAIL PROTECTED]> wrote: > Can I petition? :-) Of course. We're always interested in feedback on whether we're making the right decisions. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Darron J. Schall Sent: Saturday, March 18, 2006 9:07 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] AS3 :: Multiline RegExp declarations :: Future enhancement ? ;-) Gordon Smith wrote: Forget StringBuilder... it's going away in B3. The player team decided it didn't give enough performance gain in enough useful cases to justifyhaving both String and StringBuilder. Doh, really? I've actually been using it a decent amount. It's especially handy in testing the SHA1 hash of a million letter a's to verify the hash algorithm is correct: var millionAs:StringBuilder = new StringBuilder ( '' ); millionAs.ensureCapacity( 100 ); for ( var i: int = 0; i < 100 ; i++ ) { millionAs.append( 'a' ); }assertSHA1( millionAs. toString(), "34aa973cd4c4daa4f61eeb2bdbad27316534016f" ); I realize the above loop could be unrolled to make it perform even faster (by appending more 'a's in each append call, and reducing the number of iterations by 10x, 100x, etc). But StringBuilder in this case was a lot faster than using a regular string.. though, I imagine this isn't really a typical use-case. That said, however, it would be a shame to see StringBuilder go -- especially after having written a decent number of pages for it for an upcoming book. Can I petition? :-) -d -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] AMFPHP, OpenAMF or Fluorine or FES
Hey, I am using Flex2-AMFPHP in a project and it works great! There has been some discussion in this list about what to change by subclassing NetConnection. Well hey, here is my stuff; package com.teotigraphix.amf { import flash.net.NetConnection; public class NetConnection2 extends NetConnection { public function AppendToGatewayUrl(append:String):void { } public function AddHeader():void { } public function ReplaceGatewayUrl():void { } } } Service abstract class package com.teotigraphix.amf { import flash.util.trace; import flash.net.Responder; import flash.net.NetConnection; import flash.net.ObjectEncoding; import flash.events.Event; import flash.events.EventDispatcher; import mx.utils.ObjectUtil; import com.teotigraphix.amf.NetConnection2; import com.teotigraphix.events.FaultEvent; import com.teotigraphix.events.ResultEvent; /** * The abstract class to create a concrete service implementation using AMFPHP. * @author Michael J. Schmalle * @date 03-06-06 */ public class AMFService extends EventDispatcher { protected var _gateway:NetConnection2; private var __gatewayURL:String = "http://localhost/teotigraphix/flashservices/gateway.php"; protected var classPath:String = ""; /** * The url leading to the service's gateway.php file. * @usage myService.gatewayURL = "http://www.example.com/flashservices/gateway.php"; */ public function set gatewayURL(value:String):void { __gatewayURL = value; } public function get gatewayURL():String { return __gatewayURL; } /** * Create the gateway connection, set ObjectEncoding to AMF0 and connect the gateway to the gateway url. * @see com.teotigraphix.amf.NetConnection2 */ public function AMFService() { super(); _gateway = new NetConnection2(); _gateway.objectEncoding = ObjectEncoding.AMF0; _gateway.connect(__gatewayURL); } /** * NOTE :: This works but it needs to have the arguments dealt with, so I didn't implement it yet. * Can anyone tell me what I am doing wrong to get the arguments passed to php correctly ? * Wrapper for the fudged service call. * @param methodName a string indicating the method to invoke within this service. * @param responder a Responder instance that will activate the default onResult() or onFault() handlers. */ protected function service(methodName:String, responder:Responder, ... args):void { //trace("service() " + classPath + "." + methodName); _gateway.call(classPath + "." + methodName, responder, args); } // // Public _gateway event handlers // /** * Default result handler for the Responder. * @param event an Event that holds {event.result}. */ public function onResult(event:Object):void { dispatchEvent(new ResultEvent("result", event)); } /** * Default fault handler for the Responder. * @param event an Event that holds {event.fault}. */ public function onFault(event:Object):void { //trace("onFault()", ObjectUtil.toString(event)); dispatchEvent(new FaultEvent("fault", event)); } } } Subclassed service... package com.teotigraphix.amf.files { import com.teotigraphix.amf.AMFService; import com.teotigraphix.events.ResultEvent; import flash.net.Responder; import flash.util.trace; import com.teotigraphix.amf.files.IFileService; public class AMFFileService extends AMFService implements IFileService { public function AMFFileService() { super(); classPath = "com.teotigraphix.amf.files.AMFFileService"; } /** * */ public function getAllDirectories(directory:String):void { var responder:Responder = new Responder(onAllDirectories, onFault); //service("getAllDirectories", responder, directory); _gateway.call(classPath + "." + "getAllDirectories", responder, directory); } priva
Re: [flexcoders] Flex2.0: MXMLC compiler is a big pain during migration from 1.5 to 2.0
>6. Modified Void to void for all the functions. (this is the stupidest thing in the world) No it's not. as you can see null has always been null. Just like Void should have been void. They are getting it consistent, you should be happy! Peace, MikeOn 3/20/06, Johannes Nel <[EMAIL PROTECTED]> wrote: what i forfot to say with betya 2 being released soon, i am not certain what parts of the unit test template will break. so just keep that in mindOn 3/20/06, Johannes Nel <[EMAIL PROTECTED]> wrote: if you had unit tests everything would be linked autmatically to the compiler. a good argument for best practises no... anyway, i suggest you check out this: http://www.lennel.org/blog/2006/03/02/an-advantage-of-unit-testing-with-flex2as3/ and this: someone said beta 2 is being released pretty soon http://www.lennel.org/blog/2006/02/27/building-unit-tests-in-eclipse-from-an-ant-script-for-asunit/ to do that automatically for you. you can grab flex unit and modify the templates for that as well. to run ant you need to install the plugin version into a normal eclipse btw (Adobe please add ant support to the non plugin version!!)On 3/20/06, t_msreddy <[EMAIL PROTECTED]> wrote: I am trying to migrate an application that we developed in Flex 1.5 to Flex 2.0. These are the steps I followed: 1. Created a project in Flex 2 builder with empty content. 2. Copied MXML folders/files 3. Copied AS folders/files and Cairngorm 2 packages 4. Modified all my AS files to follow the new package convention 5. Made sure all the vars have a datatype defined. 6. Modified Void to void for all the functions. (this is the stupidest thing in the world) Now my real problem with Flex 2 builder is that it doesnt really show the compilation problem in AS files until you try to instantiate the object in MXML files. Now I have a ClientVO.as class until I do the following in MXML file, I wouldnt know what the real problem in ClientVO.as is: var client : ClientVO = new ClientVO(); Please, save me some nightmares by suggesting or sharing your experiences in working with Flex 2.0 or during migration from Flex 1.5 to Flex 2.0 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- j:pn http://www.lennel.org -- j:pn http://www.lennel.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Looks Like Flex 2.0 Beta 2 is Releasing soon
When the earth smashes into the sun... ;-( Reality sucks.On 3/20/06, João Fernandes <[EMAIL PROTECTED] > wrote: Well I just saw the "Adobe Flex Developer Derby" and guess what... Again only available in US and Canada (Frenchies excluded). When will we see for once a contest where no one is excluded? João Fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of João Fernandes Sent: Tue 21-Mar-06 1:29 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Looks Like Flex 2.0 Beta 2 is Releasing soon Well, they seem to work now. João Fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of Richie Rich Sent: Tue 21-Mar-06 12:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Looks Like Flex 2.0 Beta 2 is Releasing soon Hello, I went to D/L the Coldfusion/Flex Connection kit and I am recieving Errors when I get to the page. http://trials.macromedia.com/pub/esd/labs/flex2/cf_flexconnect_b2_03-20.exe Everything has the _b2 added to it and it looks like they are updating labs website as well "The FES2 has a new name "Flex Data Services 2.0". Any body know when the D/L's will start working again. Rich -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Looks Like Flex 2.0 Beta 2 is Releasing soon
Man, I gotta shake your hand someday ;-)On 3/20/06, dos dedos <[EMAIL PROTECTED]> wrote: " ... smashes into the sun" is it taking it too far to assume it's in reference to Sun buying Adobe? Flex would make the perfect compliment for Java on the front end =)Michael Schmalle < [EMAIL PROTECTED]> wrote: When the earth smashes into the sun... ;-( Reality sucks.On 3/20/06, Jo�o Fernandes <[EMAIL PROTECTED] > wrote: Well I just saw the "Adobe Flex Developer Derby" and guess what... Again only available in US and Canada (Frenchies excluded). When will we see for once a contest where no one is excluded? Jo�o Fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of Jo�o Fernandes Sent: Tue 21-Mar-06 1:29 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Looks Like Flex 2.0 Beta 2 is Releasing soon Well, they seem to work now. Jo�o Fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of Richie Rich Sent: Tue 21-Mar-06 12:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Looks Like Flex 2.0 Beta 2 is Releasing soon Hello, I went to D/L the Coldfusion/Flex Connection kit and I am recieving Errors when I get to the page. http://trials.macromedia.com/pub/esd/labs/flex2/cf_flexconnect_b2_03-20.exe Everything has the _b2 added to it and it looks like they are updating labs website as well "The FES2 has a new name "Flex Data Services 2.0". Any body know when the D/L's will start working again. Rich -- 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.comSPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. __Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex 2 Beta 2
Yup, downloading it now!On 3/20/06, jf.saldanha <[EMAIL PROTECTED]> wrote: Flex Beta 2 is Here. And for me the first Problem is on installation the Project is: unable to open 'C:\Programas\Adobe\Flex Builder 2 Plug-in Beta 2\Flex Framework 2\frameworks\locale\pt_pt\framework_rb.swc' Is funny because the framework know that I stay in Portugal but the install not and dont make any folder named pt_pt. But I copy the folder named en_US with the content and the Flex now run. My hope is: Bad begin make happy end -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] FB2 :: Highlighting changes :: Motivation ?
Adobe, What was your motivation for changing the highliting? IE String, Number, get, set, etc.. Just curious, I get used to something with colors now it's gone. ;) Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Looks Like Flex 2.0 Beta 2 is Releasing soon
> My post wasn't intended to start a US-Against everyone war. Yeah, we allready have one of those, definitly DO NOT need any more! :) Peace, Mike On 3/21/06, João Fernandes <[EMAIL PROTECTED]> wrote: My post wasn't intended to start a US-Against everyone war. I just wanted once see everyone at the same level of opportunity. David Mendels response is what I'm used to get but never got a more detailed one. Is it really impossible to adapt to EU rules? João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason Hawryluk Sent: terça-feira, 21 de Março de 2006 14:51 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Looks Like Flex 2.0 Beta 2 is Releasing soon Sorry to be harsh, but if that is a typical Adobe response to a simple user request then we are in big trouble... You are the ones selling the product in the EU, we are the clients. To take a request from a motivated user, and promptly turned it into a political excuse. That kind of attitude gives me the hives, and is not something I would expect from Macromedia or Adobe. A simple sorry we can't do it, resources internally won't allow it, or something else more respective of the request. To hand off a request and blame it on the EU is just the kind of horse pucky that really irritates me. Shame!! If you don't work for Adobe you have absolutely no place giving a response to that particular question. Do not; push your personnel political views here. I for one don't want to see it. jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]De la part de John Farrar Envoyé : mardi 21 mars 2006 15:31 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: Looks Like Flex 2.0 Beta 2 is Releasing soon You could also request that your government change it's rules to make such a thing possible! Like was said, they are open to the idea... but do you honestly expect the EU to change policy because of Adobe's expressing a desire to run a contest? I wish you could be included also... but it's not Adobe who you need to look to for a solution. You need to change the mind of the EU. John --- In flexcoders@yahoogroups.com , João Fernandes <[EMAIL PROTECTED] > wrote: > > That's what I was hopping for, > > For centuries that this kind of contests are only available for a restricted number of users ;) Since there is a problem doing an universal contest why not do it separately ? > > João Fernandes > Dep. Informática - Área de Desenvolvimento > Cofina media > > Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL > Tel (+351) 213 185 200 . Fax (+351) 213 540 370 > [EMAIL PROTECTED] > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Softwa
Re: [flexcoders] Google Finance in AJAX: Can we do this in Flex?
Hi, I could probably make a component like that in a couple of days. No, joke. Check out my blog; http://flex2components.com/f2cblog for some proto component examples. I made that Color chooser in 2 days. Peace, MikeOn 3/21/06, Abdul Qabiz <[EMAIL PROTECTED]> wrote: By writing custom componentsI am sure you can do the same in Flex may be more easily..-abdulOn 3/21/06, t_msreddy < [EMAIL PROTECTED]> wrote: I just learnt about Google Finance. I think they implemented in AJAX URL:http://finance.google.com/finance?q=MSFT&btnG=Search I was particularly pleased with the sliding bar at the top of thechart used for zoom in/out. Can this be done in Flex? I know there is a SlideBar component in Flex which can do that. But it is limited:1. SlideBar component has only one movable sliding tip. In the googlechart that you see, there are two movable sliding tips.2. SlideBar component can be used to filter data based on only one point lets say 2004. In google finance chart, there is a movablesliding window apart from movable adjustable tips say between 2004 and2006How can we implement such a think in Flex? --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Google Finance in AJAX: Can we do this in Flex?
PS, I wouldn't try to extend the SliderBar for something that complicated untill I get to see the source for the flex framework. No need to reinvent the wheel by duplicating functionality that might have existing hooks allready. ;-) Peace, MikeOn 3/21/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: Hi, I could probably make a component like that in a couple of days. No, joke. Check out my blog; http://flex2components.com/f2cblog for some proto component examples. I made that Color chooser in 2 days. Peace, MikeOn 3/21/06, Abdul Qabiz < [EMAIL PROTECTED]> wrote: By writing custom componentsI am sure you can do the same in Flex may be more easily..-abdulOn 3/21/06, t_msreddy < [EMAIL PROTECTED]> wrote: I just learnt about Google Finance. I think they implemented in AJAX URL:http://finance.google.com/finance?q=MSFT&btnG=Search I was particularly pleased with the sliding bar at the top of thechart used for zoom in/out. Can this be done in Flex? I know there is a SlideBar component in Flex which can do that. But it is limited:1. SlideBar component has only one movable sliding tip. In the googlechart that you see, there are two movable sliding tips.2. SlideBar component can be used to filter data based on only one point lets say 2004. In google finance chart, there is a movablesliding window apart from movable adjustable tips say between 2004 and2006How can we implement such a think in Flex? --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Google Finance in AJAX: Can we do this in Flex?
Sorry to keep posting but, I just went back to that site. Correct me if I am wrong but, That whole thing is in a Flash Player! Peace, MikeOn 3/21/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: PS, I wouldn't try to extend the SliderBar for something that complicated untill I get to see the source for the flex framework. No need to reinvent the wheel by duplicating functionality that might have existing hooks allready. ;-) Peace, MikeOn 3/21/06, Michael Schmalle < [EMAIL PROTECTED]> wrote: Hi, I could probably make a component like that in a couple of days. No, joke. Check out my blog; http://flex2components.com/f2cblog for some proto component examples. I made that Color chooser in 2 days. Peace, MikeOn 3/21/06, Abdul Qabiz < [EMAIL PROTECTED]> wrote: By writing custom componentsI am sure you can do the same in Flex may be more easily..-abdulOn 3/21/06, t_msreddy < [EMAIL PROTECTED]> wrote: I just learnt about Google Finance. I think they implemented in AJAX URL:http://finance.google.com/finance?q=MSFT&btnG=Search I was particularly pleased with the sliding bar at the top of thechart used for zoom in/out. Can this be done in Flex? I know there is a SlideBar component in Flex which can do that. But it is limited:1. SlideBar component has only one movable sliding tip. In the googlechart that you see, there are two movable sliding tips.2. SlideBar component can be used to filter data based on only one point lets say 2004. In google finance chart, there is a movablesliding window apart from movable adjustable tips say between 2004 and2006How can we implement such a think in Flex? --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- What goes up, does come down. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Google Finance in AJAX: Can we do this in Flex?
> I saw your blog. Your component TEOTaskPane - TEOTaskList is mind- > blogging :) . You are the GEEE OHHH D of Flex :) > Do you plan to publish your code? Hey, unfortunatly I plan to sell them ;-) You gotta make a living somwhere! But, I plan to help a lot of flex devs in the future though!@ So yes, free code will come but, after my kids can eat finally! :-) Peace, Mike PS, I took the TEODoc AS3/mxml document generator off the blog becasue, well I want to win a contest ;-) On 3/21/06, Darron J. Schall <[EMAIL PROTECTED]> wrote: Renaun Erickson wrote: > When I right-click it comes up as Flash Player, hmmm... AJAX and Flex > (FABridge?) probaby not, Google wouldn't be using Flex2, but probably > a nice Flash app. It's a Flash 7 app that uses the Flash _javascript_ Integration Kit [1] to communicate between Flash/_javascript_. -d [1] http://osflash.org/flashjs -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex2 :: Rounded Corner Fragments :: What is it!
Yes! Thanks Adobe!!! The Rounded corners look superb! Flex2 beta2 Problem fixed. Peace, MikeOn 3/19/06, Paolo Bernardini <[EMAIL PROTECTED]> wrote: Actually, it can get even worst then that, i you try the Style explorer app ( http://weblogs.macromedia.com/mc/archives/Flex2StyleExplorer.html ) , and play with the panel Corner radius setting you see ugly it is. I hope the will fix this in the next beta release. 2006/3/19, Michael Schmalle <[EMAIL PROTECTED]>: Hey, Has anybody else noticed that nasty artifact on the panel's rounded corners ? Top especailly. See my blog for a screen shot.http://www.flex2components.com/f2cblog/2006/03/14/teowindow-rectmouseresizer/ What is that 1 pixel rounded line above the 'The'. It is driving me crazy!If this is part of the design, I want to add my 2 cents. It sucks! Looks nasty and why is it there?Peace, Mike -- What goes up, does come down. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] AS3 :: Interface type verses Concrete type return
Thanks Scott, The question was really aimed at ArrayCollection, so internally I type it as ArrayCollection and if say a public methods returns it, I would use ICollectionView, then this as you said allows me to swap behaviors in the client class. Peace, MikeOn 3/23/06, Scott Langeberg <[EMAIL PROTECTED]> wrote: 2 pc: If you ever want to swap behaviors internally at runtime, use interfaces: : ) Scott On 3/17/06, Michael Schmalle < [EMAIL PROTECTED]> wrote: Thanks roger, That answers my question exactly! :) This is how I program, so that makes me happy. Sometimes intuition of feeling goes along way with oop. Peace, MikeOn 3/17/06, Roger Gonzalez < [EMAIL PROTECTED]> wrote: My rules of thumb: When passed in from the outside, use an interface. There's generally no reason to bake in a dependency to a particular implementation, whereas adding a concrete type reference will make it strongly coupled; whenever your class is compiled, it will always force the other type to be linked in (ka-ching!). If using the interface feels awkward, there's probably a "thinko" in your (or our) design abstraction. When used internally, can you imagine any situation where you might use a different implemetation? If not, use a concrete type. -rg From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael SchmalleSent: Friday, March 17, 2006 6:05 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] AS3 :: Interface type verses Concrete type return Hello,The question I have is what is the general concensus dealing with how you pass and type a property.Would you type a property with a concerte type if it is used internally in a class ?Or with say ArrayCollection, you need to type it IListViewCollection?I guess the real question is, where is the line between interface implementation and concrete implementation?It's a lot easier to use the getItemAt() of array collection then the cursor internally sometimes, but for a returned type I do understand that you want to hide that by using the interface of ArrayCollection's IListViewCollection. If I keep the interface type this is forcing the client to use the IViewCursor right?Now, is this the standard practice the methods like getItemAt() are only supposed to be used by the objects owner not a client?I'm just trying to nail standard practices here.This question really pertains to the ArrayCollection for me right now. Peace, MikePS Yes, program to an interface not to an implementation. Sorry if this post might not be clear. I am having a hard time explaing what my true question is :)-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- : : ) Scott -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL
Re: [flexcoders] AS3 :: Interface type verses Concrete type return
Scott, Yeah I totally get what your saying. I think when I was talking with roger I had mentioned that I wanted to access like getItemAt() through the ArrayCollection but, if it was used as a public or passed, I would want the client to use the IViewCursor interface. My reasoning is that for internal manipulation of what I want to a complish, it was esier to use ArrayCollection's public api. I know I could use IViewCursor but, it ends up being a lot more code to accomplish simple things that I need. Maybe with this scenario, it comes down to personal preference? ;-) PS, yeah I really didn't need a Strategy implementation with what I was trying to accomplish. The ArrayCollection is always going to be an ArrayCollection. Peace, MikeOn 3/23/06, Scott Langeberg <[EMAIL PROTECTED]> wrote: I'm not sure if this is what you're looking for, but this is what i'm trying to illustrate:Class A { var collection:ICollectionView function setCollection(newCollection:ICollectionView) { collection = newCollection; }}In this case, an instance of A can change its collection implementation at runtime, as long as that implementation is from ICollectionView. This may be unapplicable in your case, but this approach is very flexible in OOP. For instance, in the Strategy pattern, an object is able to change its behaviors at runtime, based on the behavior object(s) it contains internally. Scott On 3/23/06, Michael Schmalle < [EMAIL PROTECTED]> wrote: Thanks Scott, The question was really aimed at ArrayCollection, so internally I type it as ArrayCollection and if say a public methods returns it, I would use ICollectionView, then this as you said allows me to swap behaviors in the client class. Peace, MikeOn 3/23/06, Scott Langeberg < [EMAIL PROTECTED]> wrote: 2 pc: If you ever want to swap behaviors internally at runtime, use interfaces: : ) Scott On 3/17/06, Michael Schmalle < [EMAIL PROTECTED]> wrote: Thanks roger, That answers my question exactly! :) This is how I program, so that makes me happy. Sometimes intuition of feeling goes along way with oop. Peace, MikeOn 3/17/06, Roger Gonzalez < [EMAIL PROTECTED]> wrote: My rules of thumb: When passed in from the outside, use an interface. There's generally no reason to bake in a dependency to a particular implementation, whereas adding a concrete type reference will make it strongly coupled; whenever your class is compiled, it will always force the other type to be linked in (ka-ching!). If using the interface feels awkward, there's probably a "thinko" in your (or our) design abstraction. When used internally, can you imagine any situation where you might use a different implemetation? If not, use a concrete type. -rg From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael SchmalleSent: Friday, March 17, 2006 6:05 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] AS3 :: Interface type verses Concrete type return Hello,The question I have is what is the general concensus dealing with how you pass and type a property.Would you type a property with a concerte type if it is used internally in a class ?Or with say ArrayCollection, you need to type it IListViewCollection?I guess the real question is, where is the line between interface implementation and concrete implementation?It's a lot easier to use the getItemAt() of array collection then the cursor internally sometimes, but for a returned type I do understand that you want to hide that by using the interface of ArrayCollection's IListViewCollection. If I keep the interface type this is forcing the client to use the IViewCursor right?Now, is this the standard practice the methods like getItemAt() are only supposed to be used by the objects owner not a client?I'm just trying to nail standard practices here.This question really pertains to the ArrayCollection for me right now. Peace, MikePS Yes, program to an interface not to an implementation. Sorry if this post might not be clear. I am having a hard time explaing what my true question is :)-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO
Re: [flexcoders] Closing tab - Eclipse style
Dosn't it do that already? I use the tab x's to close each tab. Peace, Mike PS I am not using the plugin version, standalone.On 3/23/06, engkee <[EMAIL PROTECTED]> wrote: Is there a way to decorate the Flex tabs with a [x] so that one can click on it to close the tab, similar to how it is done in eclipse? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Everyone: Please indicate Flex version in subject line
I Second this! I have been using like AS3, FB2, Flex2 b2 Although I think if you post a lot on this forum, you only need the Flex2, not b2? What do others think ? A double colan :: is always nice as it is good visual seperation when reading and not to intrusive. Peace, MikeOn 3/23/06, Tracy Spratt <[EMAIL PROTECTED]> wrote: This forum is so active that we need to not waste our time even reading questions we can 't answer. And spending time to answer a question on the wrong version is even worse. Thanks, Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex 2.0 API Source Code
No, Unless there is some crazy programmer that can decompile as3, I don't even think the specs have been released on the new swf. BTW, They are releasing the full framework source with the public release, see threads already posted on this forum. Peace, MikeOn 3/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: Hi , Is there a way to extract Flex 2.0 Beta1 MXML controls ActionScript source code? I have a link for flex 1.5. Please let me know if we can? Regards, Meenakshi Makker Live as if you will die tomorrow, and learn as if you will live for ever. —Mahatma Gandhi -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Closing tab - Eclipse style
Yeah, pardon me... Makes sense, if only Adobe mad the tabs modules... Peace, MikeOn 3/24/06, engkee <[EMAIL PROTECTED]> wrote: That is correct. I'm using the TabNavigator in my UI and I would like the tabs to have the "x" or similar decoration that I can click on to close. -engkee --- In flexcoders@yahoogroups.com, "Richard Rodseth" <[EMAIL PROTECTED]> wrote: > > I think the poster wants to implement an interface like Eclipse's > within Flex, and was not commenting on Flex Builder. > > - Richard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] FB2 :: Plugin, where is it?
Hey, I have so much on my plate... I just read in a previous thread that the standalone is severly cippled in Eclipse. What is not implemented? I want to use the subversion plugin, I have Eclipse installed already, where do I get the plugin version of Flex Builder? Could somone point me in the resources direction or at least give a couple steps to get this going for me in my mind? Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] FB2 :: Plugin, where is it?
HAHA, You know, that figures it was right in front of my face! Thanks Johannes for pointing out the obvious. Maybe it's becasue I am here since alpha and it was a seperate download. I really think that is what screwed up my thinking. Lets say I am not using Java in Eclipse, it is still wise for me to install Flex Builder as the plugin right? Peace, MikeOn 3/26/06, Johannes Nel <[EMAIL PROTECTED]> wrote: ant is not installed by default, which is the the real killler, other than that none of the standard java stuff is there. the pluging version of zorn is in the same installer, all you do is you choose to install the plugin version and point it to a eclipse folder. On 3/26/06, Michael Schmalle < [EMAIL PROTECTED]> wrote: Hey, I have so much on my plate... I just read in a previous thread that the standalone is severly cippled in Eclipse. What is not implemented? I want to use the subversion plugin, I have Eclipse installed already, where do I get the plugin version of Flex Builder? Could somone point me in the resources direction or at least give a couple steps to get this going for me in my mind? Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] FB2 :: Plugin, where is it?
I'll answer my own question; Of course it is because you get Eclipse not an Adobe program that can't be extended as Eclipse can when Flex Builder is the plugin. :) This week has been, we you know! Peace, MikeOn 3/26/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: HAHA, You know, that figures it was right in front of my face! Thanks Johannes for pointing out the obvious. Maybe it's becasue I am here since alpha and it was a seperate download. I really think that is what screwed up my thinking. Lets say I am not using Java in Eclipse, it is still wise for me to install Flex Builder as the plugin right? Peace, MikeOn 3/26/06, Johannes Nel < [EMAIL PROTECTED]> wrote: ant is not installed by default, which is the the real killler, other than that none of the standard java stuff is there. the pluging version of zorn is in the same installer, all you do is you choose to install the plugin version and point it to a eclipse folder. On 3/26/06, Michael Schmalle < [EMAIL PROTECTED]> wrote: Hey, I have so much on my plate... I just read in a previous thread that the standalone is severly cippled in Eclipse. What is not implemented? I want to use the subversion plugin, I have Eclipse installed already, where do I get the plugin version of Flex Builder? Could somone point me in the resources direction or at least give a couple steps to get this going for me in my mind? Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] FB2 :: Plugin, where is it?
Well, it took me 4 minutes to uninstall and reinstall on top of Eclipse. Never know what I need in the future, now everything is in one place. Peace, MikeOn 3/26/06, Johannes Nel <[EMAIL PROTECTED]> wrote: i am not certain about beta 2, but in beta 1 the ant was disabled, and that is a killer for me as i use ant the whole time as a workflow tool. you never know what you might need until you find its not there so...On 3/26/06, Michael Schmalle <[EMAIL PROTECTED] > wrote: HAHA, You know, that figures it was right in front of my face! Thanks Johannes for pointing out the obvious. Maybe it's becasue I am here since alpha and it was a seperate download. I really think that is what screwed up my thinking. Lets say I am not using Java in Eclipse, it is still wise for me to install Flex Builder as the plugin right? Peace, MikeOn 3/26/06, Johannes Nel < [EMAIL PROTECTED]> wrote: ant is not installed by default, which is the the real killler, other than that none of the standard java stuff is there. the pluging version of zorn is in the same installer, all you do is you choose to install the plugin version and point it to a eclipse folder. On 3/26/06, Michael Schmalle < [EMAIL PROTECTED]> wrote: Hey, I have so much on my plate... I just read in a previous thread that the standalone is severly cippled in Eclipse. What is not implemented? I want to use the subversion plugin, I have Eclipse installed already, where do I get the plugin version of Flex Builder? Could somone point me in the resources direction or at least give a couple steps to get this going for me in my mind? Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex 2: Context Menu ... How To?
Hey, Seeing as how the Help Content in FB2 works great, this might get you started; package {import flash.ui.ContextMenu;import flash.ui.ContextMenuItem;import flash.events.ContextMenuEvent;import flash.events.ContextMenuEvent;import flash.display.Sprite; import flash.display.Shape;import flash.util.trace;public class ContextMenuExample extends Sprite {private var myContextMenu:ContextMenu;private var menuLabel:String = "Reverse Colors"; private var textLabel:String = "Right Click";private var redRectangle:Sprite;private var label:TextField;private var size:uint = 100;private var black:uint = 0x00; private var red:uint = 0xFF;public function ContextMenuExample() {myContextMenu = new ContextMenu();removeDefaultItems();addCustomMenuItems(); myContextMenu.addEventListener(ContextMenuEvent.MENU_SELECT, menuSelectHandler);addChildren();redRectangle.contextMenu = myContextMenu;}private function addChildren():void { redRectangle = new Sprite();redRectangle.graphics.beginFill(red);redRectangle.graphics.drawRect(0, 0, size, size);addChild(redRectangle);redRectangle.x = size;redRectangle.y = size;label = createLabel();redRectangle.addChild(label);}private function removeDefaultItems():void {myContextMenu.hideBuiltInItems ();var defaultItems:ContextMenuBuiltInItems = myContextMenu.builtInItems;defaultItems.print = true;}private function addCustomMenuItems():void {var item:ContextMenuItem = new ContextMenuItem(menuLabel); myContextMenu.customItems.push(item);item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler);}private function menuSelectHandler(event:ContextMenuEvent):void { trace("menuSelectHandler: " + event);}private function menuItemSelectHandler(event:ContextMenuEvent):void {trace("menuItemSelectHandler: " + event); var textColor:uint = (label.textColor == black) ? red : black;var bgColor:uint = (label.textColor == black) ? black : red;redRectangle.graphics.clear();redRectangle.graphics.beginFill (bgColor);redRectangle.graphics.drawRect(0, 0, size, size);label.textColor = textColor;}private function createLabel():TextField {var txtField:TextField = new TextField(); txtField.text = textLabel;return txtField;}};-)Peace, Mike} On 3/26/06, dos dedos <[EMAIL PROTECTED]> wrote: speaking of sunday morning hangover, it's CONTEXT not CONTENT :D ... sorrydos dedos <[EMAIL PROTECTED] > wrote:HiWhen I right-click on Flash/flex content I get the Adobe "About" context menu... It would be very nice to have a context menu that relates to the functionality of your application not the functionality of the Flash player.I believe I had heard it was possible ... How?Thanks a lot in advancedos New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex 2: Context Menu ... How To?
dos, A trick that I use with the help... Hit help contents. Then hit Language reference Then hit Frames Then look for ContentMenu, then a big example follows the more green Classes. ;-) The helpp is really laid out well. Peace, MikeOn 3/26/06, dos dedos <[EMAIL PROTECTED]> wrote: LOL .. I'm using the 600 pages of documentation I printed as a pillow for now... (I can't read while I'm awake [too boring] and when I'm asleep the words get all scrambled and stuff... my import function is broke) ... still goingthru the first 200 pagesThanks!111 =)Michael Schmalle < [EMAIL PROTECTED]> wrote:Hey, Seeing as how the Help Content in FB2 works great, this might get you started; package {import flash.ui.ContextMenu;import flash.ui.ContextMenuItem;import flash.events.ContextMenuEvent;import flash.events.ContextMenuEvent;import flash.display.Sprite; import flash.display.Shape;import flash.util.trace;public class ContextMenuExample extends Sprite {private var myContextMenu:ContextMenu;private var menuLabel:String = "Reverse Colors";private var textLabel:String = "Right Click";private var redRectangle:Sprite;private var label:TextField;private var size:uint = 100; private var black:uint = 0x00;private var red:uint = 0xFF;public function ContextMenuExample() {myContextMenu = new ContextMenu();removeDefaultItems(); addCustomMenuItems();myContextMenu.addEventListener(ContextMenuEvent.MENU_SELECT, menuSelectHandler);addChildren();redRectangle.contextMenu = myContextMenu; }private function addChildren():void {redRectangle = new Sprite();redRectangle.graphics.beginFill(red);redRectangle.graphics.drawRect(0, 0, size, size); addChild(redRectangle);redRectangle.x = size;redRectangle.y = size;label = createLabel();redRectangle.addChild(label);} private function removeDefaultItems():void {myContextMenu.hideBuiltInItems();var defaultItems:ContextMenuBuiltInItems = myContextMenu.builtInItems;defaultItems.print = true;}private function addCustomMenuItems():void {var item:ContextMenuItem = new ContextMenuItem(menuLabel);myContextMenu.customItems.push(item); item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler);}private function menuSelectHandler(event:ContextMenuEvent):void {trace("menuSelectHandler: " + event); }private function menuItemSelectHandler(event:ContextMenuEvent):void {trace("menuItemSelectHandler: " + event);var textColor:uint = (label.textColor == black) ? red : black;var bgColor:uint = (label.textColor == black) ? black : red;redRectangle.graphics.clear();redRectangle.graphics.beginFill(bgColor); redRectangle.graphics.drawRect(0, 0, size, size);label.textColor = textColor;}private function createLabel():TextField {var txtField:TextField = new TextField(); txtField.text = textLabel;return txtField;}};-)Peace, Mike} On 3/26/06, dos dedos <[EMAIL PROTECTED]> wrote: speaking of sunday morning hangover, it's CONTEXT not CONTENT :D ... sorrydos dedos <[EMAIL PROTECTED] > wrote:HiWhen I right-click on Flash/flex content I get the Adobe "About" context menu... It would be very nice to have a context menu that relates to the functionality of your application not the functionality of the Flash player.I believe I had heard it was possible ... How?Thanks a lot in advancedos New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group " flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -- 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
Re: [flexcoders] Flex 2: Context Menu ... How To?
heh, I mean non-green classes. :) Peace, MikeOn 3/26/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: dos, A trick that I use with the help... Hit help contents. Then hit Language reference Then hit Frames Then look for ContentMenu, then a big example follows the more green Classes. ;-) The helpp is really laid out well. Peace, MikeOn 3/26/06, dos dedos < [EMAIL PROTECTED]> wrote: LOL .. I'm using the 600 pages of documentation I printed as a pillow for now... (I can't read while I'm awake [too boring] and when I'm asleep the words get all scrambled and stuff... my import function is broke) ... still goingthru the first 200 pagesThanks!111 =)Michael Schmalle < [EMAIL PROTECTED]> wrote:Hey, Seeing as how the Help Content in FB2 works great, this might get you started; package {import flash.ui.ContextMenu;import flash.ui.ContextMenuItem;import flash.events.ContextMenuEvent;import flash.events.ContextMenuEvent;import flash.display.Sprite; import flash.display.Shape;import flash.util.trace;public class ContextMenuExample extends Sprite {private var myContextMenu:ContextMenu;private var menuLabel:String = "Reverse Colors";private var textLabel:String = "Right Click";private var redRectangle:Sprite;private var label:TextField;private var size:uint = 100; private var black:uint = 0x00;private var red:uint = 0xFF;public function ContextMenuExample() {myContextMenu = new ContextMenu();removeDefaultItems(); addCustomMenuItems();myContextMenu.addEventListener(ContextMenuEvent.MENU_SELECT, menuSelectHandler);addChildren();redRectangle.contextMenu = myContextMenu; }private function addChildren():void {redRectangle = new Sprite();redRectangle.graphics.beginFill(red);redRectangle.graphics.drawRect(0, 0, size, size); addChild(redRectangle);redRectangle.x = size;redRectangle.y = size;label = createLabel();redRectangle.addChild(label);} private function removeDefaultItems():void {myContextMenu.hideBuiltInItems();var defaultItems:ContextMenuBuiltInItems = myContextMenu.builtInItems;defaultItems.print = true;}private function addCustomMenuItems():void {var item:ContextMenuItem = new ContextMenuItem(menuLabel);myContextMenu.customItems.push(item); item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler);}private function menuSelectHandler(event:ContextMenuEvent):void {trace("menuSelectHandler: " + event); }private function menuItemSelectHandler(event:ContextMenuEvent):void {trace("menuItemSelectHandler: " + event);var textColor:uint = (label.textColor == black) ? red : black;var bgColor:uint = (label.textColor == black) ? black : red;redRectangle.graphics.clear();redRectangle.graphics.beginFill(bgColor); redRectangle.graphics.drawRect(0, 0, size, size);label.textColor = textColor;}private function createLabel():TextField {var txtField:TextField = new TextField(); txtField.text = textLabel;return txtField;}};-)Peace, Mike} On 3/26/06, dos dedos <[EMAIL PROTECTED]> wrote: speaking of sunday morning hangover, it's CONTEXT not CONTENT :D ... sorrydos dedos <[EMAIL PROTECTED] > wrote:HiWhen I right-click on Flash/flex content I get the Adobe "About" context menu... It would be very nice to have a context menu that relates to the functionality of your application not the functionality of the Flash player.I believe I had heard it was possible ... How?Thanks a lot in advancedos New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group " flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Re: [flexcoders] Flex 2: Context Menu ... How To?
... Then I look at my previous posts... I say ContentMenu to, duh ContextMenuOn 3/26/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: Yeah, well, it's spring man! Don't get to excied! Peace, MikeOn 3/26/06, dos dedos < [EMAIL PROTECTED]> wrote: I was getting excited about those "green Classes" ...I found language reference is under Adobe Flex Help from the top level ... I hadve already printed all that stuff but the online layout enables random access a lot more efficiently... the days of looking up stuff in a hefty manual are over.. i don't know what i was thinking! =)Michael Schmalle < [EMAIL PROTECTED]> wrote:heh, I mean non-green classes. :) Peace, Mike On 3/26/06, Michael Schmalle < [EMAIL PROTECTED]> wrote: dos, A trick that I use with the help... Hit help contents. Then hit Language reference Then hit Frames Then look for ContentMenu, then a big example follows the more green Classes. ;-) The helpp is really laid out well. Peace, MikeOn 3/26/06, dos dedos < [EMAIL PROTECTED]> wrote: LOL .. I'm using the 600 pages of documentation I printed as a pillow for now... (I can't read while I'm awake [too boring] and when I'm asleep the words get all scrambled and stuff... my import function is broke) ... still goingthru the first 200 pagesThanks!111 =)Michael Schmalle < [EMAIL PROTECTED]> wrote:Hey, Seeing as how the Help Content in FB2 works great, this might get you started; package {import flash.ui.ContextMenu;import flash.ui.ContextMenuItem;import flash.events.ContextMenuEvent;import flash.events.ContextMenuEvent ;import flash.display.Sprite; import flash.display.Shape;import flash.util.trace;public class ContextMenuExample extends Sprite {private var myContextMenu:ContextMenu; private var menuLabel:String = "Reverse Colors";private var textLabel:String = "Right Click";private var redRectangle:Sprite;private var label:TextField; private var size:uint = 100;private var black:uint = 0x00;private var red:uint = 0xFF;public function ContextMenuExample() {myContextMenu = new ContextMenu(); removeDefaultItems();addCustomMenuItems();myContextMenu.addEventListener(ContextMenuEvent.MENU_SELECT, menuSelectHandler);addChildren(); redRectangle.contextMenu = myContextMenu;}private function addChildren():void {redRectangle = new Sprite();redRectangle.graphics.beginFill (red);redRectangle.graphics.drawRect(0, 0, size, size);addChild(redRectangle);redRectangle.x = size;redRectangle.y = size;label = createLabel(); redRectangle.addChild(label);}private function removeDefaultItems():void {myContextMenu.hideBuiltInItems();var defaultItems:ContextMenuBuiltInItems = myContextMenu.builtInItems;defaultItems.print = true;}private function addCustomMenuItems():void {var item:ContextMenuItem = new ContextMenuItem(menuLabel); myContextMenu.customItems.push(item);item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler);}private function menuSelectHandler(event:ContextMenuEvent):void { trace("menuSelectHandler: " + event);}private function menuItemSelectHandler(event:ContextMenuEvent):void {trace("menuItemSelectHandler: " + event); var textColor:uint = (label.textColor == black) ? red : black;var bgColor:uint = (label.textColor == black) ? black : red;redRectangle.graphics.clear(); redRectangle.graphics.beginFill(bgColor);redRectangle.graphics.drawRect(0, 0, size, size);label.textColor = textColor;}private function createLabel():TextField { var txtField:TextField = new TextField();txtField.text = textLabel;return txtField;}};-)Peace, Mike} On 3/26/06, dos dedos < [EMAIL PROTECTED]> wrote: speaking of sunday morning hangover, it's CONTEXT not CONTENT :D ... sorrydos dedos < [EMAIL PROTECTED] > wrote:HiWhen I right-click on Flash/flex content I get the Adobe "About" context menu... It would be very nice to have a context menu that relates to the functionality of your application not the functionality of the Flash player.I believe I had heard it was possible ... How?Thanks a lot in advancedos New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -- Flexcoders Mailing List FAQ:
Re: [flexcoders] Flex 2: Context Menu ... How To?
Yeah, well, it's spring man! Don't get to excied! Peace, MikeOn 3/26/06, dos dedos <[EMAIL PROTECTED]> wrote: I was getting excited about those "green Classes" ...I found language reference is under Adobe Flex Help from the top level ... I hadve already printed all that stuff but the online layout enables random access a lot more efficiently... the days of looking up stuff in a hefty manual are over.. i don't know what i was thinking! =)Michael Schmalle < [EMAIL PROTECTED]> wrote:heh, I mean non-green classes. :) Peace, Mike On 3/26/06, Michael Schmalle < [EMAIL PROTECTED]> wrote: dos, A trick that I use with the help... Hit help contents. Then hit Language reference Then hit Frames Then look for ContentMenu, then a big example follows the more green Classes. ;-) The helpp is really laid out well. Peace, MikeOn 3/26/06, dos dedos < [EMAIL PROTECTED]> wrote: LOL .. I'm using the 600 pages of documentation I printed as a pillow for now... (I can't read while I'm awake [too boring] and when I'm asleep the words get all scrambled and stuff... my import function is broke) ... still goingthru the first 200 pagesThanks!111 =)Michael Schmalle < [EMAIL PROTECTED]> wrote:Hey, Seeing as how the Help Content in FB2 works great, this might get you started; package {import flash.ui.ContextMenu;import flash.ui.ContextMenuItem;import flash.events.ContextMenuEvent;import flash.events.ContextMenuEvent ;import flash.display.Sprite; import flash.display.Shape;import flash.util.trace;public class ContextMenuExample extends Sprite {private var myContextMenu:ContextMenu; private var menuLabel:String = "Reverse Colors";private var textLabel:String = "Right Click";private var redRectangle:Sprite;private var label:TextField; private var size:uint = 100;private var black:uint = 0x00;private var red:uint = 0xFF;public function ContextMenuExample() {myContextMenu = new ContextMenu(); removeDefaultItems();addCustomMenuItems();myContextMenu.addEventListener(ContextMenuEvent.MENU_SELECT, menuSelectHandler);addChildren(); redRectangle.contextMenu = myContextMenu;}private function addChildren():void {redRectangle = new Sprite();redRectangle.graphics.beginFill(red); redRectangle.graphics.drawRect(0, 0, size, size);addChild(redRectangle);redRectangle.x = size;redRectangle.y = size;label = createLabel(); redRectangle.addChild(label);}private function removeDefaultItems():void {myContextMenu.hideBuiltInItems();var defaultItems:ContextMenuBuiltInItems = myContextMenu.builtInItems;defaultItems.print = true;}private function addCustomMenuItems():void {var item:ContextMenuItem = new ContextMenuItem(menuLabel); myContextMenu.customItems.push(item);item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler);}private function menuSelectHandler(event:ContextMenuEvent):void { trace("menuSelectHandler: " + event);}private function menuItemSelectHandler(event:ContextMenuEvent):void {trace("menuItemSelectHandler: " + event); var textColor:uint = (label.textColor == black) ? red : black;var bgColor:uint = (label.textColor == black) ? black : red;redRectangle.graphics.clear(); redRectangle.graphics.beginFill(bgColor);redRectangle.graphics.drawRect(0, 0, size, size);label.textColor = textColor;}private function createLabel():TextField { var txtField:TextField = new TextField();txtField.text = textLabel;return txtField;}};-)Peace, Mike} On 3/26/06, dos dedos < [EMAIL PROTECTED]> wrote: speaking of sunday morning hangover, it's CONTEXT not CONTENT :D ... sorrydos dedos < [EMAIL PROTECTED] > wrote:HiWhen I right-click on Flash/flex content I get the Adobe "About" context menu... It would be very nice to have a context menu that relates to the functionality of your application not the functionality of the Flash player.I believe I had heard it was possible ... How?Thanks a lot in advancedos New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Re: [flexcoders] why is trace(1+0.9+0.7+0.3) = 2.8999999999999995
I could swear there was a thread on this precision issue that Gordon Smith answered and it did have to do with the trace function. Search the archives, I bet you will find it. Peace, MikeOn 3/27/06, Dima Ulich <[EMAIL PROTECTED]> wrote: Hi All, I was working with number recently and noticed this weird behaviour trace(1+0.9+0.7+0.3) returns 2.8995; Did anyone else ever seen such thing? Is it a bug? Dima Ulich __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.