Re: [flexcoders] Flex 2.0 Dashboard Project
Hi Sergio, You can find a good tutorial about charts in Flex 1.5 here http://www.macromedia.com/devnet/flex/articles/charting.html -Sreenivas On 3/4/06, sergiosergiomon [EMAIL PROTECTED] wrote: Hello everyone!I had already posted here asking for a tutorial on how to build adashboard like the sample on the Adobe/Macromedia Flex page. Being advised to look at the sample alreade in the Welcome page ofFlex 2.0, I decided to go ahead, but being novice to Flex I reallyneed a STEP BY STEP tutorial.Is there anything like that out there? Or at least how to work with charting components?Thanks!SergioBrazil--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] AS3 :: RegExp :: String constructor taking out \s slasshes etc.
Hello, I am here using regular expressions and for some reason didn't relaize that when you create an _expression_ like : var packages:String = '^\s*(package\s(.*){)'; pattern:RegExp = new RegExp(packages, g); will trace : /^s*(packages(.*){)/g Notice where the ^s are together, there should be a back slash to say space character. I tried with both and ', dosn't make a difference. So obviously you need to double backslash a special charatcer in regular _expression_ strings. This sucks big time, the reason is I have a parsing library full of registered regular expressions. Am I seing this right? This is the way it always has been? I guess using php, it is different with how it treats a RegExp through it's methods. Anyway, Does anybody see any negative effects from using an actual RegExp object in the static library ? Would this cause any confilcts because some internal properties of the RegExp object are not reset or updated correctly. I know the modifiers would have to be flagged correctly. I use a; var pattern:RegExp = RegExpLibrary.getPattern(RegExpLibrary.PACKAGE_PATTERN, g) as RegExp; Any thoughts? Peace, Mike -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name?
I have a question that's almost related.In AS3, how can I instantiate a class, com.foo.MyClass, using the string com.foo.MyClass? The reason I ask is that I'd like to load an XML file and use it to dynamically create components at runtime. Something like this: components component className=com.foo.MyClass x=100 y=100/ component className=com.foo.MyClass x=100 y=100/ /componentsThanks,TomOn 3/3/06, Gordon Smith [EMAIL PROTECTED] wrote: Whoa not only is there no eval(), there's no _target, no _level0, and no _global! Plus, you should almost always use Sprite instead of MovieClip. So what are you really trying to do? Are you using Flex or just pure AS3? Where are you getting a string like sprite1.sprite2.sprite3 from? Why do you have to transform it back into a Sprite reference? Could you have just kept the reference instead of the string? - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Boon Chew Sent: Friday, March 03, 2006 3:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name? Hi all, With the _eval being gone in AS3, does anyone know how to get to the reference of a movieclip (via the target name string) without using _eval (e.g. _level0.mc1.mc2.mc3) ? I know we can instantiate an object from a class name string via the _global namespace but not positive about mc's. Thanks. - boon Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. -- Flexcoders 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.
[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/
Re: [flexcoders] Parsing Unterminated xml elements in Flex 2.0 Beta
Thanks for the response Matt. I tried the legacy XMLDocument class, but it was a no go and got the same errors. Oh well, I will just have to catch these errors and parse the unterminated nodes manually. -Dan On 3/4/06, Matt Chotin [EMAIL PROTECTED] wrote: I don't think we allow invalid XML in the e4x stuff at least. You can try using the flash.xml.XMLDocument class which is the legacy XML object, I suppose it may do what you want. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel NelsonSent: Friday, March 03, 2006 11:49 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Parsing Unterminated xml elements in Flex 2.0 Beta Hi all, I was wondering if you can parse unterminated XML elements inflex 2.0 beta. For example I want to parsethe following stringflash:streamroot intoaXMLNode. I keep getting this error XML parser failure: Unterminated element. In flash 8, I can successfully parse unterminated XML, A flash 8 example below: var myData:String = flash:streamroot;var xmlData:XML = new XML();xmlData.ignoreWhite = this.ignoreWhite;xmlData.parseXML (myData);var firstNode:XMLNode = xmlData.firstChild ;var nodeName:String = firstNode.nodeName.toLowerCase();trace(nodeName); //outputs flash:stream I can't seem to get this working withAction Script 3.0in flex or get a rewrite with the new XML classes in AS3? Anyone have any thoughts or solutions to this problem of mine? -Dan --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.
Re: [flexcoders] AS3 Date month starting at 0?
Ah... I should probably read the entire thread sometimes, rather than just jumping in the middle! :-) Peter On 3/4/06, Gordon Smith [EMAIL PROTECTED] wrote: Yes, but that's not what the code I commented on was doing. It was doing new Date(2006, 03, 22); I was simply trying to point out that it would be more efficient to do new Date(2006, 3, 22); rather than having 2006 coerce to 2006, 03 coerce to 3, and 22 coerce to 22. - Gordon -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] getStyle and Alpha for programmatic skins
Preface: I'm extending a RectBorder and am trying to paramterize the coloring, etc., and have one problem with two ways to go about it -- neither of which I can figure out. In one sense this is a more general problem... Problem: In a programmatic skin I'm writing, I cannot get access to the 'alpha' value of an object, say a VBox where I set the borderSkin to my subclass. I *can* get access to backgroundColor thought, for instance. Proposal 1) When I need the value: getStyle(alpha) -- this always returns 0. Or just saying `this.alpha' always returns 1. Regardless of the value, it seems that if you set the alpha of a VBox, it applies it to the skin anyway, whether you want to override the behavior or not. Ugh. Proposal 2) More generally, what if I want to instantiate my skin subclass with a constructor -- not just the default constructor, but including values like alpha and keeping them privately? Skins must provide default constructors, otherwise they don't compile -- is there a way to provide constructor arguments to a skin, and then use it? I tried instantiating a skin like this, and passing the instance to borderSkin, but it didn't do anything. (dataBinding would be an ideal solution, so the skin gets redrawn). Cheers, Jono :~) -- 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][E4X] Node access problem due to - char
Hi Matt and Gordon,Thanks for clarification it sounds reasonable.On 3/5/06, Gordon Smith [EMAIL PROTECTED] wrote: It sounds like you are asking why myXML.some-node doesn't give you what you wan. The answer is that it is actually a subtraction: myXML.some - node This isn't a bug; it's just how the . and - operators work in AS3 and E4X. When a node name isn't a legal AS3 identifier, you have to either write myXML[some-node] or myXML.elements(some-node) - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira Sent: Saturday, March 04, 2006 4:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] [AS3][E4X] Node access problem due to - char Hi, I was playing with the new AS3 E4X and trying to access the following kind of XML node: some-nodeHi!some-node I can't access this kind of node due to the middle - char. This problem happens in old AS2 XML object too. In both XML objects (old AS2 and new AS3) we can reach the node using the following notation (and not dot notation that will be the preferred way): myXML[some-node] Some XML languajes out there use this kind of notation (with - inserted inside node names), so I suppose this is a bug in the way E4X (and old XML AS2 object) works or I'm missing something. Please tell me If I'm wrong. If this is a bug, could we expect a fix in the next FP8.5 alpha or beta version? Thanks. C. -- ::| 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 . -- ::| 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 YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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][E4X] Node access problem due to - char
You can also access these properties with the syntax: myXML.child(some-node); myXML.descendents(some-node); myXML.attribute(some-attr); // or [EMAIL PROTECTED]some-attr]; // or myXML[@some-attr]; To replace the ., .. and .@ operators respectively. Peter On 3/4/06, Matt Chotin [EMAIL PROTECTED] wrote: Since hyphen is minus in the language there's no way that we can support it in an e4x _expression_. You'll have to use the bracket notation for it. This is something that won't change. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira Sent: Saturday, March 04, 2006 4:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] [AS3][E4X] Node access problem due to - char Hi, I was playing with the new AS3 E4X and trying to access the following kind of XML node: some-nodeHi!some-node I can't access this kind of node due to the middle - char. This problem happens in old AS2 XML object too. In both XML objects (old AS2 and new AS3) we can reach the node using the following notation (and not dot notation that will be the preferred way): myXML[some-node] Some XML languajes out there use this kind of notation (with - inserted inside node names), so I suppose this is a bug in the way E4X (and old XML AS2 object) works or I'm missing something. Please tell me If I'm wrong. If this is a bug, could we expect a fix in the next FP8.5 alpha or beta version? Thanks. C. -- ::| 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 YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Custom Item Renderer needs to know about parent
One of the components in my main application is a TileGrid. I have a custom cell renderer called a PostThumbnail which I set as the listitemrenderer property of the TileGrid. The problem is that my main application defines several public functions which each instance of a PostThumbnail needs to be able to call when they need to. What's the best way to give each PostThumbnail a reference to the main application so that it can call the methods when necessary? -- 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] ArrayContainer trouble
I'm storing instances of a custom component called a Post into an ArrayContainer, which I'm using as a data provider for another component built to store and visually render all Posts. Unfortunately, the compiler gives me an error on the following code: var myPost:Post = allPosts.getItemAt(index); The error in question is Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Post'. In other words, despite my having stored only Posts into the ArrayContainer, getItemAt only returns elements of type Object. Is there a C-like casting mechanism I can use in this situation? Or is some other workaround appropriate? 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 * 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] DataGridColumn sortCompareFunction (Flex 2 Beta 1)
Hello, I do have some problemens with a custom sort compare function in a DataGrid. In the Columnn I like to sort birthdates of persons. Regarding the manunal the callback function should have the following signature mySortCompareFunction(obj1 : Object, obj2 : Object, columnIndex : Number) : Number With this signature I get the following error message ArgumentError: Error #1063: Argument count mismatch on CellRenderer::DateCellRenderer/Compare(). Expected 3, got 2 at mx.collections::Sort/mx.collections:Sort::internalCompare() at Array/sort() [] So I tried the following function with only two arguments: var _ColumnName:String = birthDate; public function Compare(pRow1:Object, pRow2:Object):Number { var _T1:Number; var _T2:Number; if( pRow1[_ColumnName] == null ) { if( pRow2[_ColumnName] == null ) return 0; else return -1; } else _T1 = pRow1[_ColumnName].time; if( pRow2[_ColumnName] == null ) return 1; else { _T2 = pRow2[_ColumnName].time; if( _T1 _T2 ) return -1; if( _T1 _T2 ) return 1; return 0; } } This works fine with one exception; the rows are always sorted ascend, even when the sort arrow indicates that the rows should be sorted descant. Where is my mistake? Harry -- Flexcoders 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. BEGIN:VCARD VERSION:2.1 N:Dehn;Harald FN:Harald Dehn ([EMAIL PROTECTED]) TEL;HOME;VOICE:+49 (69) 61002712 TEL;CELL;VOICE:+49 (151) 17887510 TEL;WORK;FAX:+49 (69) 15049656 ADR;WORK:;;Gutzkowstraße 27;Frankfurt;;60594;Deutschland LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Gutzkowstra=DFe 27=0D=0AFrankfurt 60594=0D=0ADeutschland ADR;HOME:;;Gutzkowstraße 27;Frankfurt;;60594;Deutschland LABEL;HOME;ENCODING=QUOTED-PRINTABLE:Gutzkowstra=DFe 27=0D=0AFrankfurt 60594=0D=0ADeutschland EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20060302T091719Z END:VCARD
[flexcoders] graphics.lineTo and anti-aliasing
Does anyone know of a way to turn off anti-aliasing of graphically drawn things -- lines, circles, etc.? (in particular, when drawn at angles) I tried messing with the parameters to lineTo so it wouldn't scale, round, or draw more than a hairline*, but I still cannot solid color, aliased pixels due to antialiasing. * graphics.lineStyle(0, fgColor, alpha, false, LineScaleMode.NONE, CapsStyle.SQUARE, JointStyle.MITER, 1); One solution is to work backwards and do a loop over every pixel and decide whether to color it, but that's ridiculous... Cheers, Jono :~) -- 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 browser UI for Java app
I have a console based, desktop network management app written in Java... I'd like to build Flex 2 browser-based GUI for this desktop app but I don't want to use Enterprise Services (or any commercial middleware layer) to communicate with this app (due to deployment license) The reason for this is that I'm tempted by the visual power and elegance of the Flex UI but I have a lot invested in the Java app and AS doesn't have the networking functions and protocols I need. Is it possible to mix Flex 2 and Java on the desktop without the use of commercial middleware? thanks marc -- 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] GUI testing best practices
as the guys from adobe has stated on this list before they are currently in some prerelase alpha or beta testing stage of a product for this. search the archives for mecury On 3/4/06, Michael Klishin [EMAIL PROTECTED] wrote: Hi,With FlexUnit for Flex 2 have been realised recently I have to ask onceagain... How do you think, what are the best ways to test GUI inMVC driven Flexapplication?Regards.--Michael Antares Klishin,Email: [EMAIL PROTECTED] Web: www.novemberain.comNon progredi est regredi--Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- 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.
Re: [flexcoders] getStyle and Alpha for programmatic skins
Hello, Your aware that alpha values in AS3 are from 0 to 1 ? When you say; Regardless of the value, it seems that if you set the alpha of a VBox, it applies it to the skin anyway, whether you want to override the behavior or not. When you set the alpha of any instance it effects the instance of itself and it's children which in this case would be the borderSkin instance. I don't understand why you wouldn't be able to set the alpha of a DisplayObject which RectBorder is. As far as using getStyle() with an actuall property, I think Adobe changed the implementation of getStyle() (Adobe can comment on this [ can you get non-defined style properties with getStyle() ?? ] ). I think it is more strict now. :: this.alpha It would return 1 if the skin is fully opaque. IE alpha = 100% Anyway, I don't understand the problem really ;-) I know why I am writting this becasue I didn't relaize that the values of alpha had changed in as3. Peace, Mike On 3/5/06, Jono Spiro [EMAIL PROTECTED] wrote: Preface: I'm extending a RectBorder and am trying to paramterize the coloring, etc., and have one problem with two ways to go about it -- neither of which I can figure out. In one sense this is a more general problem... Problem: In a programmatic skin I'm writing, I cannot get access to the 'alpha' value of an object, say a VBox where I set the borderSkin to my subclass. I *can* get access to backgroundColor thought, for instance. Proposal 1) When I need the value: getStyle(alpha) -- this always returns 0. Or just saying `this.alpha' always returns 1. Regardless of the value, it seems that if you set the alpha of a VBox, it applies it to the skin anyway, whether you want to override the behavior or not. Ugh. Proposal 2) More generally, what if I want to instantiate my skin subclass with a constructor -- not just the default constructor, but including values like alpha and keeping them privately? Skins must provide default constructors, otherwise they don't compile -- is there a way to provide constructor arguments to a skin, and then use it? I tried instantiating a skin like this, and passing the instance to borderSkin, but it didn't do anything. (dataBinding would be an ideal solution, so the skin gets redrawn). Cheers, Jono :~) -- Flexcoders 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.
RE: [flexcoders] ArrayContainer trouble
depending on your "post". I would think that. var myPost:Post = Post(allPosts.getItemAt(index)); would normaly cast it to it's proper type... Make sure that you import your class befor using it. As i'm assuming you have. Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de svolixEnvoyé: dimanche 5 mars 2006 07:31À: flexcoders@yahoogroups.comObjet: [flexcoders] ArrayContainer troubleI'm storing instances of a custom component called a Post into anArrayContainer, which I'm using as a data provider for anothercomponent built to store and visually render all Posts.Unfortunately, the compiler gives me an error on the following code:var myPost:Post = allPosts.getItemAt(index);The error in question is "Implicit coercion of a value with statictype 'Object' to a possibly unrelated type 'Post'". In other words,despite my having stored only Posts into the ArrayContainer, getItemAtonly returns elements of type Object.Is there a C-like casting mechanism I can use in this situation? Oris some other workaround appropriate?Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] datagrid filter
Hi Manish, For Flex 1.5, I had written a FilteredDataProvider class that I've lost the source to. Maybe someone on the list has it. It's temporary uploaded to http://www.docsultant.com/temp/filtdp.zip , and will be removed with time... -- Thanks, Vadim. - Original Message - From: Manish Jethani To: flexcoders@yahoogroups.com Sent: Friday, March 03, 2006 9:20 PM Subject: Re: [flexcoders] datagrid filter On 3/3/06, deepu_verma [EMAIL PROTECTED] wrote: How can I filter data from a datagrid? Is there a function to filter data for the data provider? Flex 2.0? http://mannu.livejournal.com/324821.html For Flex 1.5, I had written a FilteredDataProvider class that I've lost the source to. Maybe someone on the list has it. Manish -- Currently in Noida. Nice weather! -- Flexcoders 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 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: Flex and URL variables
http://livedocs.macromedia.com/flex/20beta1/docs/1300.html covers this topic However, although it works if you pass the URL as a .swf, if you try .html (which is presumably what you want) then it fails Hope someone can explain how to do this in Flex 2.0 as it would be a great feature Andy Clark --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: In Flex 2, the Application instance has a parameters property with name/value pairs for the URL parameters and FlashVars. So in an Application script you would just access parameters.number and it would be 3. From other scripts, you would use Application.application.parameters.number. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Thursday, March 02, 2006 2:55 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex and URL variables Flex 1.5 or 2? - Original Message - From: Jonathan Miranda mailto:[EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 5:49 PM Subject: [flexcoders] Flex and URL variables Alright, I've done this with Flash before but I'm wondering how similar it is. Let's say I start my app @ http://mysite.com/index.mxml?number=3 What's the easiest way to get that 3 into a variable in Flex? Using FlashVars in the embed/object tags and then somehow do mx.core.application.Application.number as my variable? _ Jonathan Miranda Flexible Master of the Web Try not to become a man of success, but a man of value. - Albert Einstein HealthGrades http://www.healthgrades.com/ : Guiding America to Better Healthcare(tm) 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. -- Flexcoders 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=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice; w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=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] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
RE: [flexcoders] Flex 2.0 Dashboard Project
Hi Sergio. I wrote a tutorial for the 1.5 charts on devnet a while back. You can find it here: http://www.macromedia.com/devnet/flex/articles/charting.html I would strongly encourage you to build your dashboard using Flex 2.0, if the option is available to you. While much has changed between 1.5 and 2.0, the bulk of that tutorial is still very relevant to the upcoming new version. For the most part, it's only once you get a little deeper into using charts that the changes will affect you. So read the tutorial, get your hands dirty, and post questions here. We're happy to answer them. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sergiosergiomon Sent: Friday, March 03, 2006 3:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2.0 Dashboard Project Hello everyone! I had already posted here asking for a tutorial on how to build a dashboard like the sample on the Adobe/Macromedia Flex page. Being advised to look at the sample alreade in the Welcome page of Flex 2.0, I decided to go ahead, but being novice to Flex I really need a STEP BY STEP tutorial. Is there anything like that out there? Or at least how to work with charting components? Thanks! Sergio Brazil -- 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] gradients on boxes or panels?
Short of writing a skin (which is what I've been resorting to rather often these days) -- is there a way to add a gradient to a VBox, for instance? Neither the internet, nor the docs, nor this list have been able to provide any example of it... :-/ Cheers, Jono -- 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 socket interface
Note to moderator: this is an update of a previous message that for some reason did not get sent to the group. Hi I have a console based, desktop network management app written in Java. I'd like to build Flex 2 browser-based GUI for this desktop app but I don't want to use Enterprise Services (or any commercial middleware layer) to communicate with this app (due to deployment license) I have noticed that the IFBIN service (ifbin.com) uses a class called SYNC to communicate via socket to a local Python based server, which would be ideal in my case. I can port my Java app to Python. Does anyone have any examples of SYNC in use with Flash or Flex? thanks marc -- Flexcoders 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] Overlapping click regions
One of my custom components extends the Canvas and has a button on it. Both the canvas and button are rigged to activate seperate functions when clicked. I've called them canvasClicked() and buttonClicked(). Now, clicking on the canvas where the button isn't triggers the canvasClicked() function, as planned. However, clicking on the button, which is within the Canvas region, appears to trigger both canvasClicked() and buttonClicked(). The hack-y way I thought of to make sure that only buttonClicked() actually does anything is to introduce a semaphore-like mechanism to both functions (that is, buttonClicked() sets a flag to true; do canvasClicked() only if flag is false). But there must be a better way to handle this. Anyone know what it is? 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 * 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 :: RegExp :: String constructor taking out \s slasshes etc.
The slashes are being removed when you use them in a string literal. Did you try a regexp literal? var pattern:RegExp = /^\s*(package\s(.*){)/g; Otherwise, it's double slashes... Peter On 3/5/06, Teoti Graphix [EMAIL PROTECTED] wrote: Hello, I am here using regular expressions and for some reason didn't relaize that when you create an _expression_ like : var packages:String = '^\s*(package\s(.*){)'; pattern:RegExp = new RegExp(packages, g); will trace : /^s*(packages(.*){)/g Notice where the ^s are together, there should be a back slash to say space character. I tried with both and ', dosn't make a difference. So obviously you need to double backslash a special charatcer in regular _expression_ strings. This sucks big time, the reason is I have a parsing library full of registered regular expressions. Am I seing this right? This is the way it always has been? I guess using php, it is different with how it treats a RegExp through it's methods. Anyway, Does anybody see any negative effects from using an actual RegExp object in the static library ? Would this cause any confilcts because some internal properties of the RegExp object are not reset or updated correctly. I know the modifiers would have to be flagged correctly. I use a; var pattern:RegExp = RegExpLibrary.getPattern(RegExpLibrary.PACKAGE_PATTERN, g) as RegExp; Any thoughts? Peace, Mike -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders 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] Bruce Eckels on Flex 2
In an interview with Bruce Eckel (author of the books Thinking in C++ and Thinking in Java ), he talks about his positive experience with experimenting with Flash and Flex 2. You can hear this interview on the Java Posse podcast, episode #37 Interview with Bruce Eckel, Part 2 at http://www.javaposse.com/index.php?post_id=65327 - Carlos -- 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] Bruce Eckels on Flex 2
Cool! I knew Bruce on this list is the one Bruce Eckel, I even asked...-abdulOn 3/6/06, Carlos Balacuit [EMAIL PROTECTED] wrote:In an interview with Bruce Eckel (author of the books Thinking in C++ and Thinking in Java ), he talks about his positive experiencewith experimenting with Flash and Flex 2.You can hear this interview on the Java Posse podcast, episode #37Interview with Bruce Eckel, Part 2 at http://www.javaposse.com/index.php?post_id=65327- Carlos--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] AS3 :: RegExp :: String constructor taking out \s slasshes etc.
Hi Peter, Yeah, hehe no newbie here, just curious about the slashes, and you string literal just popped the answer for me. It has nothing to do with the regexp just the string literal ;-) Thanks for the reply. Peace, MikeOn 3/5/06, Peter Hall [EMAIL PROTECTED] wrote: The slashes are being removed when you use them in a string literal. Did you try a regexp literal? var pattern:RegExp = /^\s*(package\s(.*){)/g; Otherwise, it's double slashes... Peter On 3/5/06, Teoti Graphix [EMAIL PROTECTED] wrote: Hello, I am here using regular expressions and for some reason didn't relaize that when you create an _expression_ like : var packages:String = '^\s*(package\s(.*){)'; pattern:RegExp = new RegExp(packages, g); will trace : /^s*(packages(.*){)/g Notice where the ^s are together, there should be a back slash to say space character. I tried with both and ', dosn't make a difference. So obviously you need to double backslash a special charatcer in regular _expression_ strings. This sucks big time, the reason is I have a parsing library full of registered regular expressions. Am I seing this right? This is the way it always has been? I guess using php, it is different with how it treats a RegExp through it's methods. Anyway, Does anybody see any negative effects from using an actual RegExp object in the static library ? Would this cause any confilcts because some internal properties of the RegExp object are not reset or updated correctly. I know the modifiers would have to be flagged correctly. I use a; var pattern:RegExp = RegExpLibrary.getPattern(RegExpLibrary.PACKAGE_PATTERN, g) as RegExp; Any thoughts? Peace, Mike -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders 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.
Re: [flexcoders] Re: Flex and URL variables
You mean, if you try to pass variables to a html page that embeds the SWF?http://myserver/myflexapp.html?foo=barI think, then you can use _javascript_ to extract query-string variables and pass it to SWF using ExternalInterface or using flashvars (if your embedding SWF using JS itself). -abdulOn 3/6/06, yaagcur [EMAIL PROTECTED] wrote: http://livedocs.macromedia.com/flex/20beta1/docs/1300.html covers this topicHowever, although it works if you pass the URL as a .swf, if you try .html (which is presumably what you want) then it failsHope someone can explain how to do this in Flex 2.0 as it would bea great featureAndy Clark--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: In Flex 2, the Application instance has a parameters property with name/value pairs for the URL parameters and FlashVars. So in an Application script you would just access parameters.number and it would be 3. From other scripts, you would use Application.application.parameters.number . - Gordon From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Thursday, March 02, 2006 2:55 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex and URL variables Flex 1.5 or 2? - Original Message - From: Jonathan Miranda mailto:jmiranda@... To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 5:49 PM Subject: [flexcoders] Flex and URL variables Alright, I've done this with Flash before but I'm wondering how similar it is. Let's say I start my app @ http://mysite.com/index.mxml?number=3 What's the easiest way to get that 3 into a variable in Flex? Using FlashVars in the embed/object tags and then somehow do mx.core.application.Application.number as my variable? _ Jonathan Miranda Flexible Master of the Web Try not to become a man of success, but a man of value. - Albert Einstein HealthGrades http://www.healthgrades.com/ : Guiding America to Better Healthcare(tm) 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. -- Flexcoders 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=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=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] mailto:[EMAIL PROTECTED]?subject=Unsubscribe *Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . --Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:
[flexcoders] Re: Detecting Client Country or Location
Thank you so much, Martin and Micheal, I will have a look at GeoIP!!! Dan --- In flexcoders@yahoogroups.com, Michael Klishin [EMAIL PROTECTED] wrote: 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/
Re: [flexcoders] Stop the logging
Thanks- Original Message From: Matt Chotin [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, March 2, 2006 10:23:46 PMSubject: RE: [flexcoders] Stop the logging web-inf/flex/gateway-config.xml is where the Remoting logging would be. This is 1.5 right? If you’re talking Flex 2 it will be flex-enterprise-services.xml. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff KruegerSent: Thursday, March 02, 2006 8:04 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Stop the logging Sorry for the stupid post. But I can't remember where the setting is to stop the logging of remote objects. In the stdout.log file. It continues to print out the values of the objects being serialized. I have all the loging in flex-config.xml turned off and the production mode set to true. Is it in another file, sorry I can't remember where that is controlled. Thanks Jeff -- Flexcoders 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: Detecting Client Country or Location
also maybe this? http://sourceforge.net/projects/javainetlocator/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex and URL variables
Oops! there are few errors in code I sent. I forgot to remove exteds Proxy from QueryString class.Please hold on, I would send another mail in a while.-abdul On 3/6/06, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi,I wrote a somple QueryString class in AS3, that would get you parameters passed to HTML wrapper.Usage is simple:Suppose url is: http://server/page.html?param1=10 AS code:import com.abdulqabiz.utils.QueryString;function onAppInit(){var qs:QueryString = new QueryString();trace(qs.param1);} Please find the attached zip file. Or see code below:- ##QueryStringSample.html - HTML Wrapper## html head titleQuery String Sample/title /head body !-- Using FlashObject from http://blog.deconcept.com/flashobject/ -- script type=text/_javascript_ src=""> div id=flashcontent This text is replaced by the Flash movie. /div script type=text/_javascript_ var fo = new FlashObject(QueryStringSample.swf,mymovie, 100%, 100%, 8.5, #336699); fo.write(flashcontent); /script /body /html##QueryStringSample.mxml - Sample MXML using Class##mx:Application xmlns:mx= http://www.macromedia.com/2005/mxml creationComplete=initVars() mx:Script![CDATA[ import com.abdulqabiz.utils.QueryString; // Declare bindable properties in Application scope. [Bindable] public var myName:String; [Bindable] public var myHometown:String; private var qs:QueryString; // Assign values to new properties. private function initVars():void { qs = new QueryString(); name_lbl.text = qs.parameters.myName; homeTown_lbl.text = qs.parameters.myHomeTown; } ]]/mx:Script mx:VBox mx:HBox mx:Label text=Name: / mx:Label id=name_lbl fontWeight=bold/ /mx:HBox mx:HBox mx:Label text=Hometown: / mx:Label id=homeTown_lbl fontWeight=bold/ /mx:HBox /mx:VBox/mx:Application##QueryString.as - The class## package com.abdulqabiz.utils { import flash.external.*; import flash.util.trace; public class QueryString extends Proxy { private var __queryString:String; private var __all:String; private var __params:Object; public function get queryString():String { return __queryString; } public function get url():String { return __all; } public function get parameters():Object { return __params; } public function QueryString() { readQueryString(); } private function readQueryString():void { __params = {}; try { _url = ExternalInterface.call(window.location); _queryString = ExternalInterface.call(window.location.search.substring, 1); //trace(_queryString); if(_queryString) { var params:Array = _queryString.split(''); var length:uint = params.length; for (var i:uint=0,index:int=-1; ilength; i++) { var kvPair:String = params[i]; if((index = kvPair.indexOf(=)) 0) { var key:String = kvPair.substring(0,index); var value:String = kvPair.substring(index+1); __params[key] = value; } } } }catch(e:Error) { trace(Some error occured. ExternalInterface doesn't work in Standalone player.); } } } } This is quick and dirty code. I initialyl wrote the entire class using Proxy, so that you can access properties over it (but data is stored in a variable inside the class). But for simplicity I removed things... Things, that are not done:* Detect if some variables are passed via FlashVars also and merge parameters* Error handling* Testing in different browsers and under different security sandbox cases. These can be done easily...So I am not doing it :)-abdul On 3/6/06, Abdul Qabiz [EMAIL PROTECTED] wrote:You mean, if you try to pass variables to a html page that embeds the SWF? http://myserver/myflexapp.html?foo=barI think, then you can use _javascript_ to extract query-string variables and pass it to SWF using ExternalInterface or using flashvars (if your embedding SWF using JS itself). -abdulOn 3/6/06, yaagcur [EMAIL PROTECTED] wrote: http://livedocs.macromedia.com/flex/20beta1/docs/1300.html covers this topic However, although it works if you pass the URL as a .swf, if you try .html (which is presumably what you want) then it failsHope someone can explain how to do this in Flex 2.0 as it would bea great featureAndy Clark--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: In Flex 2, the Application instance has a parameters property with name/value pairs for the URL parameters and FlashVars. So in an Application script you would just access parameters.number and it would be 3. From other scripts, you would use Application.application.parameters.number . - Gordon From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Thursday, March 02, 2006 2:55 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex and URL variables Flex 1.5 or 2? - Original Message - From: Jonathan Miranda mailto: jmiranda@... To: flexcoders@yahoogroups.com Sent: Thursday, March
Re: [flexcoders] Flex 2: determine scaled dimensions of Loader content?
contentHeight and contentWidthis returning the original values 50, 50. So it is a bug, I'll file one. Thanks Tom, -sam On 3/3/06, Matt Chotin [EMAIL PROTECTED] wrote: I believe that contentWidth/Height are supposed to return the scaled values, not the original values. So that might be a bug. I'll forward this on and see if anyone knows anything. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom BraySent: Thursday, March 02, 2006 10:57 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2: determine scaled dimensions of Loader content? Say you do this:mx:Loader id=photo source=image.jpg width=200 height=150 scaleContent=true/ And the actual dimensions of image.jpg is 50x50. After the loader has loaded the image and scaled it, the loader's contentWidth and contentHeight say 50, but the image has been scaled to fit in the loader and maintain the correct aspect ratio. So, is there a property that contains the scaled width and height (150x150) or do I have to calculate it? I want the scaled dimensions so that I can size a canvas around the image with a border and a dropshadow.Thanks,-Tom--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.
Re: [flexcoders] Overlapping click regions
The canvas gets the click event because of the event bubbling. You can handle the situation in two ways. In canvasClicked you can check the event.target to be the canvas only before taking any action. You can callevent.stopPropagation() in the button click handler to prevent the event from bubbling up to the canvas. On 3/6/06, svolix [EMAIL PROTECTED] wrote: One of my custom components extends the Canvas and has a button on it.Both the canvas and button are rigged to activate seperate functions when clicked.I've called them canvasClicked() and buttonClicked().Now, clicking on the canvas where the button isn't triggers thecanvasClicked() function, as planned.However, clicking on thebutton, which is within the Canvas region, appears to trigger both canvasClicked() and buttonClicked().The hack-y way I thought of to make sure that only buttonClicked()actually does anything is to introduce a semaphore-like mechanism toboth functions (that is, buttonClicked() sets a flag to true; do canvasClicked() only if flag is false).But there must be a betterway to handle this.Anyone know what it is?Thanks.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex 2: determine scaled dimensions of Loader content?
At the same time if contentHeight and contentWidth are taken a little after complete it shows that scaled values. So this is a workaround. -sam On 3/6/06, Samuel Reuben [EMAIL PROTECTED] wrote: contentHeight and contentWidthis returning the original values 50, 50. So it is a bug, I'll file one. Thanks Tom, -sam On 3/3/06, Matt Chotin [EMAIL PROTECTED] wrote: I believe that contentWidth/Height are supposed to return the scaled values, not the original values. So that might be a bug. I'll forward this on and see if anyone knows anything. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom BraySent: Thursday, March 02, 2006 10:57 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2: determine scaled dimensions of Loader content? Say you do this:mx:Loader id=photo source=image.jpg width=200 height=150 scaleContent=true/ And the actual dimensions of image.jpg is 50x50. After the loader has loaded the image and scaled it, the loader's contentWidth and contentHeight say 50, but the image has been scaled to fit in the loader and maintain the correct aspect ratio. So, is there a property that contains the scaled width and height (150x150) or do I have to calculate it? I want the scaled dimensions so that I can size a canvas around the image with a border and a dropshadow.Thanks,-Tom--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.
RE: [flexcoders] Custom Item Renderer needs to know about parent
Well you should have a parentApplication property which should already work... Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of svolix Sent: Sunday, March 05, 2006 2:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom Item Renderer needs to know about parent One of the components in my main application is a TileGrid. I have a custom cell renderer called a PostThumbnail which I set as the listitemrenderer property of the TileGrid. The problem is that my main application defines several public functions which each instance of a PostThumbnail needs to be able to call when they need to. What's the best way to give each PostThumbnail a reference to the main application so that it can call the methods when necessary? -- 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/
RE: [flexcoders] gradients on boxes or panels?
Create a SWF that has the gradient and embed it, then set it as the backgroundImage. That's what we do for the Application I think. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jono Spiro Sent: Sunday, March 05, 2006 1:36 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] gradients on boxes or panels? Short of writing a skin (which is what I've been resorting to rather often these days) -- is there a way to add a gradient to a VBox, for instance? Neither the internet, nor the docs, nor this list have been able to provide any example of it... :-/ Cheers, Jono -- 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/
RE: [flexcoders] getStyle and Alpha for programmatic skins
Yes alpha is a property that runs from 0 to 1. All of the other alphas (backgroundAlpha for example) are done as styles with the same 0 to 1 range. As for creating skins with arguments in the constructor, we really dont support it, it has to be no-arg. We dont have a general mechanism of knowing the constructor arguments and using them in a factory Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Teoti Graphix Sent: Sunday, March 05, 2006 7:30 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] getStyle and Alpha for programmatic skins Hello, Your aware that alpha values in AS3 are from 0 to 1 ? When you say; Regardless of the value, it seems that if you set the alpha of a VBox, it applies it to the skin anyway, whether you want to override the behavior or not. When you set the alpha of any instance it effects the instance of itself and it's children which in this case would be the borderSkin instance. I don't understand why you wouldn't be able to set the alpha of a DisplayObject which RectBorder is. As far as using getStyle() with an actuall property, I think Adobe changed the implementation of getStyle() (Adobe can comment on this [ can you get non-defined style properties with getStyle() ?? ] ). I think it is more strict now. :: this.alpha It would return 1 if the skin is fully opaque. IE alpha = 100% Anyway, I don't understand the problem really ;-) I know why I am writting this becasue I didn't relaize that the values of alpha had changed in as3. Peace, Mike On 3/5/06, Jono Spiro [EMAIL PROTECTED] wrote: Preface: I'm extending a RectBorder and am trying to paramterize the coloring, etc., and have one problem with two ways to go about it -- neither of which I can figure out. In one sense this is a more general problem... Problem: In a programmatic skin I'm writing, I cannot get access to the 'alpha' value of an object, say a VBox where I set the borderSkin to my subclass. I *can* get access to backgroundColor thought, for instance. Proposal 1) When I need the value: getStyle(alpha) -- this always returns 0. Or just saying `this.alpha' always returns 1. Regardless of the value, it seems that if you set the alpha of a VBox, it applies it to the skin anyway, whether you want to override the behavior or not. Ugh. Proposal 2) More generally, what if I want to instantiate my skin subclass with a constructor -- not just the default constructor, but including values like alpha and keeping them privately? Skins must provide default constructors, otherwise they don't compile -- is there a way to provide constructor arguments to a skin, and then use it? I tried instantiating a skin like this, and passing the instance to borderSkin, but it didn't do anything. (dataBinding would be an ideal solution, so the skin gets redrawn). Cheers, Jono :~) -- Flexcoders 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.
RE: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name?
getClassByBame will return the Class, then you can use new on it. Make sure you have any class that youd want to instantiate linked in by having a typed variable for it though Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Bray Sent: Saturday, March 04, 2006 5:22 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name? I have a question that's almost related. In AS3, how can I instantiate a class, com.foo.MyClass, using the string com.foo.MyClass? The reason I ask is that I'd like to load an XML file and use it to dynamically create components at runtime. Something like this: components component className=com.foo.MyClass x=100 y=100/ component className=com.foo.MyClass x=100 y=100/ /components Thanks, Tom On 3/3/06, Gordon Smith [EMAIL PROTECTED] wrote: Whoa not only is there no eval(), there's no _target, no _level0, and no _global! Plus, you should almost always use Sprite instead of MovieClip. So what are you really trying to do? Are you using Flex or just pure AS3? Where are you getting a string like sprite1.sprite2.sprite3 from? Why do you have to transform it back into a Sprite reference? Could you have just kept the reference instead of the string? - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Boon Chew Sent: Friday, March 03, 2006 3:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name? Hi all, With the _eval being gone in AS3, does anyone know how to get to the reference of a movieclip (via the target name string) without using _eval (e.g. _level0.mc1.mc2.mc3) ? I know we can instantiate an object from a class name string via the _global namespace but not positive about mc's. Thanks. - boon Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. -- Flexcoders 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.
[flexcoders] Re: Bruce Eckels on Flex 2
At What point those he talk about Flex? (the mp3 is quite long lol) cheers --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Cool! I knew Bruce on this list is the one Bruce Eckel, I even asked... -abdul On 3/6/06, Carlos Balacuit [EMAIL PROTECTED] wrote: In an interview with Bruce Eckel (author of the books Thinking in C++ and Thinking in Java ), he talks about his positive experience with experimenting with Flash and Flex 2. You can hear this interview on the Java Posse podcast, episode #37 Interview with Bruce Eckel, Part 2 at http://www.javaposse.com/index.php?post_id=65327 - Carlos -- 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/
RE: [flexcoders] Re: Bruce Eckels on Flex 2
My player didn't have the clock showing but I think it was about 10 mins in? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pk_wasp Sent: Sunday, March 05, 2006 10:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Bruce Eckels on Flex 2 At What point those he talk about Flex? (the mp3 is quite long lol) cheers --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Cool! I knew Bruce on this list is the one Bruce Eckel, I even asked... -abdul On 3/6/06, Carlos Balacuit [EMAIL PROTECTED] wrote: In an interview with Bruce Eckel (author of the books Thinking in C++ and Thinking in Java ), he talks about his positive experience with experimenting with Flash and Flex 2. You can hear this interview on the Java Posse podcast, episode #37 Interview with Bruce Eckel, Part 2 at http://www.javaposse.com/index.php?post_id=65327 - Carlos -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/